enable fstrim.timer on install/upgrade [release 2.25.2-2mamba;Wed Jan 14 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 18:52:53 +01:00
parent baba85449b
commit 9610d06a20

View File

@ -8,7 +8,7 @@
Name: util-linux Name: util-linux
Version: 2.25.2 Version: 2.25.2
Release: 1mamba Release: 2mamba
Epoch: 1 Epoch: 1
Summary: Miscellaneous utilities for Linux Summary: Miscellaneous utilities for Linux
Group: System/Tools Group: System/Tools
@ -75,6 +75,7 @@ Obsoletes: eject
Requires: libuuid = %{?epoch:%epoch:}%{version}-%{release} Requires: libuuid = %{?epoch:%epoch:}%{version}-%{release}
Requires: libblkid = %{?epoch:%epoch:}%{version}-%{release} Requires: libblkid = %{?epoch:%epoch:}%{version}-%{release}
Requires: libmount = %{?epoch:%epoch:}%{version}-%{release} Requires: libmount = %{?epoch:%epoch:}%{version}-%{release}
%systemd_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -250,6 +251,13 @@ install -d %{buildroot}%{_localstatedir}/uuid
-d /var/lib/libuuid -s /bin/false -c "UUID generator helper daemon" uuidd 2>/dev/null -d /var/lib/libuuid -s /bin/false -c "UUID generator helper daemon" uuidd 2>/dev/null
exit 0 exit 0
%post
%systemd_post
if [ $1 -ge 1 ]; then
systemctl -q enable fstrim.timer
fi
:
%post -n libblkid -p /sbin/ldconfig %post -n libblkid -p /sbin/ldconfig
%postun -n libblkid -p /sbin/ldconfig %postun -n libblkid -p /sbin/ldconfig
@ -474,6 +482,9 @@ exit 0
%{_mandir}/man3/uuid*.* %{_mandir}/man3/uuid*.*
%changelog %changelog
* Wed Jan 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25.2-2mamba
- enable fstrim.timer on install/upgrade
* Fri Oct 24 2014 Automatic Build System <autodist@mambasoft.it> 2.25.2-1mamba * Fri Oct 24 2014 Automatic Build System <autodist@mambasoft.it> 2.25.2-1mamba
- automatic version update by autodist - automatic version update by autodist