rpms/dhcp/devel dhcp.spec,1.236,1.237

David Cantrell dcantrel at fedoraproject.org
Sun Jan 11 20:08:26 UTC 2009


Author: dcantrel

Update of /cvs/pkgs/rpms/dhcp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17119

Modified Files:
	dhcp.spec 
Log Message:
* Sun Jan 11 2009 David Cantrell <dcantrell at redhat.com> - 12:4.1.0-3
- Correct syntax errors in %post script (#479012)



Index: dhcp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dhcp/devel/dhcp.spec,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -r1.236 -r1.237
--- dhcp.spec	10 Jan 2009 19:14:05 -0000	1.236
+++ dhcp.spec	11 Jan 2009 20:07:56 -0000	1.237
@@ -12,7 +12,7 @@
 Summary:  Dynamic host configuration protocol software
 Name:     dhcp
 Version:  4.1.0
-Release:  2%{?dist}
+Release:  3%{?dist}
 # NEVER CHANGE THE EPOCH on this package.  The previous maintainer (prior to
 # dcantrell maintaining the package) made incorrect use of the epoch and
 # that's why it is at 12 now.  It should have never been used, but it was.
@@ -314,7 +314,7 @@
 %{__rm} -rf %{buildroot}
 
 %post
-if [ -f /etc/dhcpd.conf ] -a [ ! -f /etc/dhcp/dhcpd.conf ]; then
+if [ -f /etc/dhcpd.conf -a ! -f /etc/dhcp/dhcpd.conf ]; then
     /bin/cp -a /etc/dhcpd.conf /etc/dhcp/dhcpd.conf >/dev/null 2>&1
     /bin/rm -f /etc/dhcpd.conf >/dev/null 2>&1
 fi
@@ -407,6 +407,9 @@
 %attr(0644,root,root) %{_mandir}/man3/omapi.3.gz
 
 %changelog
+* Sun Jan 11 2009 David Cantrell <dcantrell at redhat.com> - 12:4.1.0-3
+- Correct syntax errors in %%post script (#479012)
+
 * Sat Jan 10 2009 David Cantrell <dcantrell at redhat.com> - 12:4.1.0-2
 - Make sure all /etc/dhcp config files are marked in the manifest
 - Include new config file directies in the dhcp and dhclient packages




More information about the scm-commits mailing list