disable and remove service no longer needed since kernel 5.6+ [release 1.9.15-2mamba;Fri Dec 03 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 23:38:53 +01:00
parent 08a2cfca1a
commit 741ad1de5d

View File

@ -1,6 +1,6 @@
Name: haveged Name: haveged
Version: 1.9.15 Version: 1.9.15
Release: 1mamba Release: 2mamba
Summary: A simple entropy daemon Summary: A simple entropy daemon
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
@ -49,28 +49,20 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
install -D -m0755 %{SOURCE1} %{buildroot}%{_unitdir}/haveged.service
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post -p /sbin/ldconfig
/sbin/ldconfig
%systemd_post %{name}
:
%preun %postun -p /sbin/ldconfig
%systemd_preun %{name}
:
%postun %triggerpreun -- haveged < 1.9.15-2mamba
/sbin/ldconfig systemctl disable haveged || true
%systemd_postun_with_restart %{name} :
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sbindir}/haveged %{_sbindir}/haveged
%{_unitdir}/haveged.service
%{_mandir}/man8/haveged.8* %{_mandir}/man8/haveged.8*
%files -n lib%{name} %files -n lib%{name}
@ -90,6 +82,9 @@ install -D -m0755 %{SOURCE1} %{buildroot}%{_unitdir}/haveged.service
%changelog %changelog
* Fri Dec 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.15-2mamba
- disable and remove service no longer needed since kernel 5.6+
* Mon Oct 04 2021 Automatic Build System <autodist@mambasoft.it> 1.9.15-1mamba * Mon Oct 04 2021 Automatic Build System <autodist@mambasoft.it> 1.9.15-1mamba
- automatic version update by autodist - automatic version update by autodist