On 11/02/2015 03:06 PM, Steve Dickson wrote:
Hello,
The following build
http://koji.fedoraproject.org/koji/taskinfo?taskID=11675563
is failing due to
error: line 256: Trigger fired by the same package is already defined in spec file:
%triggerun -- nfs-utils < 1:1.3.1-4.0
Here all the trigger (that have been around forever):
triggerun -- nfs-utils < 1:1.2.4-2
/bin/systemctl enable nfs-lock.service >/dev/null 2>&1 || :
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 || :
%triggerun -- nfs-utils < 1:1.3.1-4.0
# reset configuration files and running daemons
if [ $1 -eq 2 ] ; then
/bin/systemctl enable nfs-client.target >/dev/null 2>&1 || :
/bin/systemctl restart nfs-config >/dev/null 2>&1 || :
/bin/systemctl restart nfs-client.target >/dev/null 2>&1 || :
fi
So the answer is... I have to remove the above trigger to get
the build to work...
What policy has changed that we now have to remove triggers
got get builds to work??? That is not a good direction... IMHO!
steved