SPECS: dhcpv6.spec - removed useless -initscripts patch - renamed ...

darekr darekr at pld-linux.org
Wed Feb 7 12:27:51 CET 2007


Author: darekr                       Date: Wed Feb  7 11:27:51 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed useless -initscripts patch
- renamed dhcpv6_client subpackage to dhcpv6-client
- kill condrestart

---- Files affected:
SPECS:
   dhcpv6.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/dhcpv6.spec
diff -u SPECS/dhcpv6.spec:1.17 SPECS/dhcpv6.spec:1.18
--- SPECS/dhcpv6.spec:1.17	Wed Jul 26 17:02:19 2006
+++ SPECS/dhcpv6.spec	Wed Feb  7 12:27:45 2007
@@ -1,12 +1,11 @@
 # $Revision$, $Date$
 # TODO:
-# - new .sysconfig files
 # - test it
 Summary:	DHCPv6 - DHCP server and client for IPv6
 Summary(pl):	DHCPv6 - serwer i klient DHCP dla IPv6
 Name:		dhcpv6
 Version:	0.10
-Release:	0.6
+Release:	0.7
 Epoch:		1
 License:	GPL
 Group:		Networking/Daemons
@@ -14,9 +13,8 @@
 # Source0-md5:	72b802d6c89e15e5cf6b0aecf46613f2
 Source1:	dhcp6s.init
 Source2:	dhcp6c.init
-Patch0:		%{name}-initscripts.patch
-Patch1:		%{name}-DESTDIR.patch
-Patch2:		%{name}-Makefile.patch
+Patch0:		%{name}-DESTDIR.patch
+Patch1:		%{name}-Makefile.patch
 URL:		http://dhcpv6.sourceforge.net/
 BuildRequires:	bison
 BuildRequires:	flex
@@ -41,19 +39,19 @@
 Więcej znajduje się w manualach dhcp6s(8), dhcp6s.conf(5) oraz
 dokumentacji w /usr/share/doc/dhcpv6* .
 
-%package -n dhcpv6_client
+%package -n dhcpv6-client
 Summary:	DHCPv6 client
 Summary(pl):	Klient DHCPv6
 Group:		Applications/Networking
 Requires:	initscripts >= 7.73
 
-%description -n dhcpv6_client
+%description -n dhcpv6-client
 Provides the client for the DHCPv6 protocol (RFC 3315) to support
 dynamic configuration of IPv6 addresses and parameters. See man
 dhcp6c(8), dhcp6c.conf(5), and the documentation in
 /usr/share/doc/dhcpv6_client* .
 
-%description -n dhcpv6_client -l pl
+%description -n dhcpv6-client -l pl
 Ten pakiet dostarcza klienta protokołu DHCPv6 (RFC 3315) do obsługi
 dynamicznej konfiguracji adresów i parametrów sieci iPv6. Więcej
 znajduje się w manualu dhcp6c(8), dhcp6c.conf(5) oraz dokumentacji w
@@ -63,13 +61,9 @@
 %setup -q -n dhcp-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
-%configure \
-	--prefix= \
-	--mandir=%{_mandir}
-
+%configure 
 %{__make}
 
 %install
@@ -93,11 +87,11 @@
 if [ "$1" = "0" ]; then
 	/etc/rc.d/init.d/dhcp6s stop >/dev/null 2>&1
 	/sbin/chkconfig --del dhcp6s
-fi
+:i
 
 %postun
 if [ "$1" -ge "1" ]; then
-	/etc/rc.d/init.d/dhcp6s condrestart >/dev/null 2>&1
+	/etc/rc.d/init.d/dhcp6s restart >/dev/null 2>&1
 fi
 
 %files
@@ -114,7 +108,7 @@
 %{_mandir}/man5/dhcp6s.conf.5*
 
 
-%files -n dhcpv6_client
+%files -n dhcpv6-client
 %defattr(644,root,root,755)
 %doc ReadMe dhcp6c.conf
 %attr(755,root,root) %{_sbindir}/dhcp6c
@@ -130,6 +124,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2007/02/07 11:27:45  darekr
+- removed useless -initscripts patch
+- renamed dhcpv6_client subpackage to dhcpv6-client
+- kill condrestart
+
 Revision 1.17  2006/07/26 15:02:19  glen
 - avoid defining default %attr
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dhcpv6.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list