[ip-sentinel/f18] fixed upgrade path by obsoleting -upstart

ensc ensc at fedoraproject.org
Wed Aug 22 12:23:22 UTC 2012


commit 419800121e325b08c26fd2d995516309ef88056a
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Wed Aug 22 14:22:45 2012 +0200

    fixed upgrade path by obsoleting -upstart

 ip-sentinel.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ip-sentinel.spec b/ip-sentinel.spec
index 44fba01..5eff96f 100644
--- a/ip-sentinel.spec
+++ b/ip-sentinel.spec
@@ -42,7 +42,7 @@
 Summary:	Tool to prevent unauthorized usage of IP addresses
 Name:		ip-sentinel
 Version:	0.12
-Release:	%release_func 1800
+Release:	%release_func 1801
 License:	GPLv2
 Group:		System Environment/Daemons
 URL:		http://www.nongnu.org/ip-sentinel/
@@ -55,6 +55,7 @@ Provides:	user(%username) = 1
 Provides:	group(%username) = 1
 BuildRequires:	which
 BuildRequires:	fedora-usermgmt-devel
+%{!?with_upstart:Obsoletes:	%name-upstart < %version-%release}
 %{?FE_USERADD_REQ}
 
 %{?with_dietlibc:BuildRequires:	dietlibc}
@@ -222,6 +223,9 @@ test "$1" != "0" || /sbin/initctl -q stop ip-sentinel || :
 
 
 %changelog
+* Wed Aug 22 2012 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.12-1801
+- fixed upgrade path by obsoleting -upstart
+
 * Sun Aug 19 2012 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.12-1800
 - conditionalized upstart and disabled it by default
 


More information about the scm-commits mailing list