[bird] spec: drop sysv->systemd migration triggers

Michal Sekletar msekleta at fedoraproject.org
Thu Oct 17 13:46:06 UTC 2013


commit 3f156df276e2f6eb598a3499c1f2e075e9d1560b
Author: Michal Sekletar <msekleta at redhat.com>
Date:   Thu Oct 17 14:03:35 2013 +0200

    spec: drop sysv->systemd migration triggers
    
    We don't need to keep these around because they were used while updating from
    bird-1.2.5-1 to newer version. bird-1.2.5-1 was included in F14 which is EOLed
    for a long time now and direct upgrades to recent versions are not supported.

 bird.spec |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/bird.spec b/bird.spec
index 231df95..6829143 100644
--- a/bird.spec
+++ b/bird.spec
@@ -129,12 +129,6 @@ if [ $1 -ge 1 ] ; then
   /bin/systemctl reload-or-try-restart bird.service >/dev/null 2>&1 || :
 fi
 
-%triggerun -- bird < 1.2.5-2
-if /sbin/chkconfig --level 3 bird ; then
-        /bin/systemctl enable bird.service >/dev/null 2>&1 || :
-fi
-
-
 %post -n bird6
 if [ $1 -eq 1 ]; then
   /bin/systemctl daemon-reload >/dev/null 2>&1 || :
@@ -154,11 +148,6 @@ if [ $1 -ge 1 ] ; then
   /bin/systemctl reload-or-try-restart bird6.service >/dev/null 2>&1 || :
 fi
 
-%triggerun -n bird6 -- bird6 < 1.2.5-2
-if /sbin/chkconfig --level 3 bird6 ; then
-        /bin/systemctl enable bird6.service >/dev/null 2>&1 || :
-fi
-
 %files
 %defattr(-,root,root,-)
 %doc NEWS README TODO
@@ -193,6 +182,7 @@ fi
 - update to 1.3.11
 - add systemd to BuildRequires
 - change scriptlet Requires to systemd
+- drop rpm triggers used for migration from sysv to systemd
 
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.10-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list