From 475d6115fd3549845cc64a97f4bec1df404d0a6a Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Jan 11 2009 20:07:56 +0000 Subject: - Correct syntax errors in %post script (#479012) --- diff --git a/dhcp.spec b/dhcp.spec index bfc6d45..d4336cd 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -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 @@ EOF %{__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 @@ fi %attr(0644,root,root) %{_mandir}/man3/omapi.3.gz %changelog +* Sun Jan 11 2009 David Cantrell - 12:4.1.0-3 +- Correct syntax errors in %%post script (#479012) + * Sat Jan 10 2009 David Cantrell - 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