rebuilt with systemd [release 5.1.1-2mamba;Thu May 21 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 20:41:39 +01:00
parent 7dcdc14a71
commit 3585a1d7f8

View File

@ -1,6 +1,6 @@
Name: autofs Name: autofs
Version: 5.1.1 Version: 5.1.1
Release: 1mamba Release: 2mamba
Summary: Userspace tools that work with the kernel to mount and un-mount removable file systems Summary: Userspace tools that work with the kernel to mount and un-mount removable file systems
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
@ -12,13 +12,13 @@ License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libe2fs-devel BuildRequires: libe2fs-devel
BuildRequires: libkeyutils-devel
BuildRequires: libkrb5-devel BuildRequires: libkrb5-devel
BuildRequires: libopenldap-devel BuildRequires: libopenldap-devel
BuildRequires: libsasl-devel BuildRequires: libsasl2-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%systemd_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -31,7 +31,9 @@ It may also be useful for allowing users to mount floppies, cdroms and other rem
%setup -q %setup -q
%build %build
%configure %configure \
--with-systemd=%{_unitdir}
%make %make
%install %install
@ -41,6 +43,22 @@ It may also be useful for allowing users to mount floppies, cdroms and other rem
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%systemd_post autofs
if [ $1 -ge 1 ]; then
systemctl -q daemon-reload
systemctl -q enable autofs
fi
:
%preun
%systemd_preun autofs
:
%postun
%systemd_postun_with_restart autofs
:
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/auto.master %config(noreplace) %{_sysconfdir}/auto.master
@ -49,7 +67,7 @@ It may also be useful for allowing users to mount floppies, cdroms and other rem
%config(noreplace) %{_sysconfdir}/auto.smb %config(noreplace) %{_sysconfdir}/auto.smb
%config(noreplace) %{_sysconfdir}/autofs_ldap_auth.conf %config(noreplace) %{_sysconfdir}/autofs_ldap_auth.conf
%config(noreplace) %{_sysconfdir}/autofs.conf %config(noreplace) %{_sysconfdir}/autofs.conf
%{_sysconfdir}/init.d/autofs %{_unitdir}/autofs.service
%{_sysconfdir}/sysconfig/autofs %{_sysconfdir}/sysconfig/autofs
%{_sbindir}/automount %{_sbindir}/automount
%dir %{_libdir}/autofs %dir %{_libdir}/autofs
@ -67,6 +85,9 @@ It may also be useful for allowing users to mount floppies, cdroms and other rem
#%doc README README.active-restart README.changer README.ncpfs README.replicated-server README.smbfs README.v5.release #%doc README README.active-restart README.changer README.ncpfs README.replicated-server README.smbfs README.v5.release
%changelog %changelog
* Thu May 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.1-2mamba
- rebuilt with systemd
* Wed Apr 22 2015 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba * Wed Apr 22 2015 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
- automatic version update by autodist - automatic version update by autodist