rpms/dhcpv6/devel .cvsignore, 1.5, 1.6 dhcpv6.spec, 1.72, 1.73 sources, 1.5, 1.6

David Cantrell (dcantrel) fedora-extras-commits at redhat.com
Tue Dec 4 02:15:31 UTC 2007


Author: dcantrel

Update of /cvs/pkgs/rpms/dhcpv6/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15084

Modified Files:
	.cvsignore dhcpv6.spec sources 
Log Message:
* Mon Dec 03 2007 David Cantrell <dcantrell at redhat.com> - 1.0.3-1
- Upgraded to new upstream version, dhcpv6-1.0.3
- Corrected package scriptlets for dhcp6s and dhcp6r service installation



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/dhcpv6/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore	1 Dec 2007 03:05:07 -0000	1.5
+++ .cvsignore	4 Dec 2007 02:14:53 -0000	1.6
@@ -1 +1 @@
-dhcpv6-1.0.2.tar.gz
+dhcpv6-1.0.3.tar.gz


Index: dhcpv6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dhcpv6/devel/dhcpv6.spec,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- dhcpv6.spec	1 Dec 2007 03:05:07 -0000	1.72
+++ dhcpv6.spec	4 Dec 2007 02:14:53 -0000	1.73
@@ -3,7 +3,7 @@
 
 Summary: DHCPv6 - DHCP server and client for IPv6
 Name:    dhcpv6
-Version: 1.0.2
+Version: 1.0.3
 Release: 1%{?dist}
 License: BSD
 Group:   System Environment/Daemons
@@ -86,17 +86,29 @@
 %{__mkdir} -p %{buildroot}%{_localstatedir}/lib/%{name}
 
 %post
-chkconfig --add dhcp6s
+/sbin/chkconfig --add dhcp6s
+/sbin/chkconfig --add dhcp6r
 
 %preun
 if [ $1 = 0 ]; then
-    service dhcp6s stop > /dev/null 2>&1
-    chkconfig --del dhcp6s || :
+    /sbin/service dhcp6s status > /dev/null 2>&1
+    if [ $? = 3 ]; then
+        /sbin/service dhcp6s stop > /dev/null 2>&1
+    fi
+
+    /sbin/service dhcp6r status > /dev/null 2>&1
+    if [ $? = 3 ]; then
+        /sbin/service dhcp6r stop > /dev/null 2>&1
+    fi
+
+    /sbin/chkconfig --del dhcp6s
+    /sbin/chkconfig --del dhcp6r || :
 fi
 
 %postun
-if [ $1 = 1 ]; then
-    service dhcp6s condrestart >/dev/null 2>&1 || :
+if [ $1 -ge 1 ]; then
+    /sbin/service dhcp6s condrestart >/dev/null 2>&1 || :
+    /sbin/service dhcp6r condrestart >/dev/null 2>&1 || :
 fi
 
 %post -n libdhcp6client -p /sbin/ldconfig
@@ -145,6 +157,10 @@
 %{_libdir}/libdhcp6client.a
 
 %changelog
+* Mon Dec 03 2007 David Cantrell <dcantrell at redhat.com> - 1.0.3-1
+- Upgraded to new upstream version, dhcpv6-1.0.3
+- Corrected package scriptlets for dhcp6s and dhcp6r service installation
+
 * Fri Nov 30 2007 David Cantrell <dcantrell at redhat.com> - 1.0.2-1
 - Upgraded to new upstream version, dhcpv6-1.0.2
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/dhcpv6/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	1 Dec 2007 03:05:07 -0000	1.5
+++ sources	4 Dec 2007 02:14:53 -0000	1.6
@@ -1 +1 @@
-aaed2eab8e09e4b18d409ab019ce22c0  dhcpv6-1.0.2.tar.gz
+7af9760efa2cb2796f75e9911c569054  dhcpv6-1.0.3.tar.gz




More information about the fedora-extras-commits mailing list