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.
This commit is contained in:
Kalev Lember 2015-11-01 16:01:33 +01:00
parent 8b7932dd1c
commit 9a0a070818

View File

@ -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