summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-10-14 18:01:27 +0000
committerTed Lemon <source@isc.org>1999-10-14 18:01:27 +0000
commit348beea1c5d0b865fc8922be259f25a5d791efd7 (patch)
treea012767df94459d662c821c22b2d25083e6034e9 /contrib
parent06afba54ec4dcbc6f0994c67ddf06bfcaadac815 (diff)
downloadisc-dhcp-348beea1c5d0b865fc8922be259f25a5d791efd7.tar.gz
Fix some line wrap errors and take out some debugging exits (Brian Murrell)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/dhcp.spec10
1 files changed, 3 insertions, 7 deletions
diff --git a/contrib/dhcp.spec b/contrib/dhcp.spec
index bd745fb5..0e176024 100644
--- a/contrib/dhcp.spec
+++ b/contrib/dhcp.spec
@@ -42,7 +42,6 @@ Dhcp devel contains all of the libraries and headers for developing with
the dhcpctl API.
%prep
-exit 0 # XXX
%setup -q -n dhcp-%{version}
# do some file editing
egrep "VARRUN
@@ -57,7 +56,6 @@ EOF
./configure --with-nsupdate
%build
-exit 0 # XXX
make
%install
@@ -72,16 +70,14 @@ install -m 755 linux.init ${RPM_BUILD_ROOT}/etc/rc.d/init.d/dhcpd
%else
%ifos solaris
mkdir -p ${RPM_BUILD_ROOT}/etc/init.d
-sed -e s'|@PREFIX@|%{_prefix}|g' < solaris.init >
-${RPM_BUILD_ROOT}/etc/init.d/dhcpd
+sed -e s'|@PREFIX@|%{_prefix}|g' < contrib/solaris.init > ${RPM_BUILD_ROOT}/etc/init.d/dhcpd
chmod 755 ${RPM_BUILD_ROOT}/etc/init.d/dhcpd
%endif
%endif
# strip binaries and libraries
strip $RPM_BUILD_ROOT%{_prefix}/sbin/* || :
-for i in `find $RPM_BUILD_ROOT/ -type 'f' -perm '+a=x' ! -name
-'lib*so*'`; do
+for i in `find $RPM_BUILD_ROOT/ -type 'f' -perm '+a=x' ! -name 'lib*so*'`; do
file $i |grep -q "not stripped" && strip $i
done
@@ -118,7 +114,7 @@ if [ $1 = 0 ]; then
fi
%clean
-#XXX rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)