2.35.1-4: enable fstrim.timer when upgrading

During upgrades of Fedora 30/31 to 32/33, enable fstrim.timer per
the new vendor preset so they're the same as a clean install.

Addresses: https://fedoraproject.org/wiki/Changes/EnableFSTrimTimer
Addresses: https://pagure.io/fesco/issue/2309
This commit is contained in:
Karel Zak 2020-02-06 11:59:30 +01:00
parent 2831759869
commit 20ae04497c

View File

@ -2,7 +2,7 @@
Summary: A collection of basic system utilities
Name: util-linux
Version: 2.35.1
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
URL: http://en.wikipedia.org/wiki/Util-linux
@ -483,6 +483,8 @@ fi
%postun -n uuidd
%systemd_postun_with_restart uuidd.service
%triggerpostun -- fedora-release < 32
%systemd_post fstrim.timer
%files -f %{name}.files
%doc README NEWS AUTHORS
@ -932,6 +934,9 @@ fi
%{_libdir}/python*/site-packages/libmount/
%changelog
* Thu Feb 06 2020 Karel Zak <kzak@redhat.com> - 2.35.1-4
- add triggerpostun for fstrim.timer (#1785041, FESCo #2309)
* Tue Feb 04 2020 Karel Zak <kzak@redhat.com> - 2.35.1-3
- fix fstrim.service (util-linux github #948)