From 9a0a0708184a95a307e2746e76d32e816672562f Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 1 Nov 2015 16:01:33 +0100 Subject: [PATCH] Drop old %triggerin scripts to unbreak the build Rebuilding nfs-utils led to rpmbuild erroring out with: error: line 262: Trigger fired by the same package is already defined in spec file: %triggerin -- nfs-utils < 1:1.3.1-4.0 To fix the build, this commit drops the old %triggerin scripts that rpmbuild doesn't like. We are already at F24; the scripts were there to support upgrades from nfs-utils 1.3.0 that was in F20 and upgrades from F20 were only supported up to F22 on the distro level. --- nfs-utils.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nfs-utils.spec b/nfs-utils.spec index bbf24a8..250279a 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -253,12 +253,6 @@ if /sbin/chkconfig --level 3 nfs ; then /bin/systemctl enable nfs-server.service >/dev/null 2>&1 || : fi -%triggerin -- nfs-utils < 1:1.3.0-0.2 -/bin/systemctl restart nfs-config >/dev/null 2>&1 || : - -%triggerin -- nfs-utils < 1:1.3.0-7.1 -/bin/systemctl stop rpc-svcgssd >/dev/null 2>&1 || : - %triggerin -- nfs-utils < 1:1.3.1-4.0 # reset configuration files and running daemons if [ $1 -eq 2 ] ; then