diff --git a/autofs.spec b/autofs.spec index 3177a48..e6e58d2 100644 --- a/autofs.spec +++ b/autofs.spec @@ -8,7 +8,7 @@ Summary: A tool for automatically mounting and unmounting filesystems Name: autofs Version: 5.1.4 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 1 License: GPLv2+ Group: System Environment/Daemons @@ -27,8 +27,6 @@ Patch11: autofs-5.1.4-use_hostname_for_mounts-shouldnt-prevent-selection-among-r Patch12: autofs-5.1.4-fix-monotonic_elapsed.patch Patch13: autofs-5.1.4-Makefiles.rules-remove-samples-from-SUBDIRS.patch -Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - %if %{with_systemd} BuildRequires: systemd-units %endif @@ -107,7 +105,6 @@ LDFLAGS=-Wl,-z,now make initdir=%{_initrddir} DONTSTRIP=1 %install -rm -rf $RPM_BUILD_ROOT %if %{with_systemd} install -d -m 755 $RPM_BUILD_ROOT%{unitdir} %else @@ -141,9 +138,6 @@ install -m 644 samples/auto.net $RPM_BUILD_ROOT/etc/auto.net install -m 644 samples/auto.smb $RPM_BUILD_ROOT/etc/auto.smb install -m 600 samples/autofs_ldap_auth.conf $RPM_BUILD_ROOT/etc/autofs_ldap_auth.conf -%clean -rm -rf $RPM_BUILD_ROOT - %post %if %{with_systemd} %systemd_post %{name}.service @@ -183,7 +177,6 @@ fi %{_bindir}/systemctl try-restart %{name}.service >/dev/null 2>&1 || : %files -%defattr(-,root,root,-) %doc CREDITS INSTALL COPY* README* samples/ldap* samples/autofs.schema %config %{init_file_name} %config(noreplace,missingok) /etc/auto.master @@ -199,6 +192,9 @@ fi %dir /etc/auto.master.d %changelog +* Fri Feb 9 2018 Ian Kent - 1:5.1.4-10 +- clean up obsolete spec file directives. + * Tue Feb 7 2018 Ian Kent - 1:5.1.4-9 - fix install mode of autofs_ldap_auth.conf.