Using %triggerpostun with %systemd_post on upgrades

2020-03-08 Thread Chris Murphy
Hi, These two lines aren't doing what I want, which is to reset the service to match the vendor preset on (major version) upgrades. https://src.fedoraproject.org/rpms/util-linux/blob/master/f/util-linux.spec#_488 Should the trigger be on an installed subpackages rather than the metapackage? fedo

Re: Using %triggerpostun with %systemd_post on upgrades

2020-03-10 Thread Chris Murphy
Retrying while simplifying... The spec file contains these two lines: %triggerpostun -- fedora-release < 32 %systemd_post fstrim.timer I don't know the proper terminology, but I think 'fedora-release' is a meta package? Since this doesn't exist on anyone's F31 system, I wonder if this should be

Re: Using %triggerpostun with %systemd_post on upgrades

2020-03-11 Thread Adam Williamson
On Tue, 2020-03-10 at 13:21 -0600, Chris Murphy wrote: > Retrying while simplifying... > > The spec file contains these two lines: > > %triggerpostun -- fedora-release < 32 > %systemd_post fstrim.timer > > I don't know the proper terminology, but I think 'fedora-release' is a > meta package? Sin

Re: Using %triggerpostun with %systemd_post on upgrades

2020-03-11 Thread Chris Murphy
On Wed, Mar 11, 2020 at 10:26 AM Adam Williamson wrote: > > On Tue, 2020-03-10 at 13:21 -0600, Chris Murphy wrote: > > Retrying while simplifying... > > > > The spec file contains these two lines: > > > > %triggerpostun -- fedora-release < 32 > > %systemd_post fstrim.timer > > > > I don't know the

Re: Using %triggerpostun with %systemd_post on upgrades

2020-03-11 Thread Chris Murphy
On Wed, Mar 11, 2020 at 12:38 PM Chris Murphy wrote: > > On Wed, Mar 11, 2020 at 10:26 AM Adam Williamson > wrote: > > > > On Tue, 2020-03-10 at 13:21 -0600, Chris Murphy wrote: > > > Retrying while simplifying... > > > > > > The spec file contains these two lines: > > > > > > %triggerpostun -- f

Re: Using %triggerpostun with %systemd_post on upgrades

2020-03-16 Thread Chris Murphy
Another idea, since util-linux 2.35 is only on Fedora 32+, how about - %triggerpostun -- fedora-release < 32 + %triggerpostun -- util-linux < 2.35 %systemd_post fstrim.timer -- Chris Murphy ___ devel mailing list -- devel@lists.fedoraproject.org To