Settled on this:
%triggerpostun -- util-linux < 2.35
%systemd_post fstrim.timer
But that still doesn't work, the unit is still disabled even though the vendor present
is enabled.
I can't tell if this means it triggered or not:
D: %triggerpostun(util-linux-2.35.1-6.fc32.x86_64): scriptlet start
fdio: 2 writes, 162 total bytes in 0.000024 secs
D: %triggerpostun(util-linux-2.35.1-6.fc32.x86_64): execv(/bin/sh) pid 1404
D: Plugin: calling hook scriptlet_fork_post in selinux plugin
D: setexecfilecon: (/bin/sh)
+ '[' 2 -eq 1 ']'
D: %triggerpostun(util-linux-2.35.1-6.fc32.x86_64): waitpid(1404) rc 1404 status 0
D: --- h# 838 util-linux-2.34-3.fc31.x86_64
D: adding "util-linux" to Name index.
https://bugzilla.redhat.com/show_bug.cgi?id=1811506
--
Chris Murphy