[dhcp-forwarder/f18] fixed upgrade path by obsoleting -upstart

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


commit 6ee80dacbcad40af692036ce1551ff32eb568fc1
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Wed Aug 22 14:18:27 2012 +0200

    fixed upgrade path by obsoleting -upstart

 dhcp-forwarder.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/dhcp-forwarder.spec b/dhcp-forwarder.spec
index c9181d3..ddf388e 100644
--- a/dhcp-forwarder.spec
+++ b/dhcp-forwarder.spec
@@ -28,7 +28,7 @@
 Summary:	DHCP relay agent
 Name:		dhcp-forwarder
 Version:	0.10
-Release:	%release_func 1802
+Release:	%release_func 1803
 License:	GPLv3
 Group:		System Environment/Daemons
 URL:		http://www.nongnu.org/dhcp-fwd/
@@ -40,6 +40,7 @@ BuildRequires:	which
 BuildRequires:	fedora-usermgmt-devel
 Provides:	user(%username) = 11
 Provides:	group(%username) = 11
+%{!?with_upstart:Obsoletes:	%name-upstart < %version-%release}
 %{?FE_USERADD_REQ}
 
 %{?with_dietlibc:BuildRequires:	dietlibc}
@@ -264,6 +265,9 @@ test "$1" -eq 1 || /bin/systemctl try-restart %name.service >/dev/null 2>&1 || :
 
 
 %changelog
+* Wed Aug 22 2012 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.10-1803
+- fixed upgrade path by obsoleting -upstart
+
 * Sun Aug 19 2012 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.10-1802
 - disabled upstart
 


More information about the scm-commits mailing list