enable fstrim.timer on install/upgrade [release 2.25.2-2mamba;Wed Jan 14 2015]
This commit is contained in:
parent
baba85449b
commit
9610d06a20
@ -8,7 +8,7 @@
|
||||
|
||||
Name: util-linux
|
||||
Version: 2.25.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Epoch: 1
|
||||
Summary: Miscellaneous utilities for Linux
|
||||
Group: System/Tools
|
||||
@ -75,6 +75,7 @@ Obsoletes: eject
|
||||
Requires: libuuid = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: libblkid = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: libmount = %{?epoch:%epoch:}%{version}-%{release}
|
||||
%systemd_requires
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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
|
||||
exit 0
|
||||
|
||||
%post
|
||||
%systemd_post
|
||||
if [ $1 -ge 1 ]; then
|
||||
systemctl -q enable fstrim.timer
|
||||
fi
|
||||
:
|
||||
|
||||
%post -n libblkid -p /sbin/ldconfig
|
||||
%postun -n libblkid -p /sbin/ldconfig
|
||||
|
||||
@ -474,6 +482,9 @@ exit 0
|
||||
%{_mandir}/man3/uuid*.*
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user