mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 23:05:29 +00:00
Fix some line wrap errors and take out some debugging exits (Brian Murrell)
This commit is contained in:
@@ -42,7 +42,6 @@ Dhcp devel contains all of the libraries and headers for developing with
|
|||||||
the dhcpctl API.
|
the dhcpctl API.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
exit 0 # XXX
|
|
||||||
%setup -q -n dhcp-%{version}
|
%setup -q -n dhcp-%{version}
|
||||||
# do some file editing
|
# do some file editing
|
||||||
egrep "VARRUN
|
egrep "VARRUN
|
||||||
@@ -57,7 +56,6 @@ EOF
|
|||||||
./configure --with-nsupdate
|
./configure --with-nsupdate
|
||||||
|
|
||||||
%build
|
%build
|
||||||
exit 0 # XXX
|
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -72,16 +70,14 @@ install -m 755 linux.init ${RPM_BUILD_ROOT}/etc/rc.d/init.d/dhcpd
|
|||||||
%else
|
%else
|
||||||
%ifos solaris
|
%ifos solaris
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/etc/init.d
|
mkdir -p ${RPM_BUILD_ROOT}/etc/init.d
|
||||||
sed -e s'|@PREFIX@|%{_prefix}|g' < solaris.init >
|
sed -e s'|@PREFIX@|%{_prefix}|g' < contrib/solaris.init > ${RPM_BUILD_ROOT}/etc/init.d/dhcpd
|
||||||
${RPM_BUILD_ROOT}/etc/init.d/dhcpd
|
|
||||||
chmod 755 ${RPM_BUILD_ROOT}/etc/init.d/dhcpd
|
chmod 755 ${RPM_BUILD_ROOT}/etc/init.d/dhcpd
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# strip binaries and libraries
|
# strip binaries and libraries
|
||||||
strip $RPM_BUILD_ROOT%{_prefix}/sbin/* || :
|
strip $RPM_BUILD_ROOT%{_prefix}/sbin/* || :
|
||||||
for i in `find $RPM_BUILD_ROOT/ -type 'f' -perm '+a=x' ! -name
|
for i in `find $RPM_BUILD_ROOT/ -type 'f' -perm '+a=x' ! -name 'lib*so*'`; do
|
||||||
'lib*so*'`; do
|
|
||||||
file $i |grep -q "not stripped" && strip $i
|
file $i |grep -q "not stripped" && strip $i
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -118,7 +114,7 @@ if [ $1 = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
#XXX rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Reference in New Issue
Block a user