SPECS: dhcdbd.spec - defined _sbindir to /sbin for use macro - rem...

darekr darekr at pld-linux.org
Fri Oct 21 15:34:19 CEST 2005


Author: darekr                       Date: Fri Oct 21 13:34:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- defined _sbindir to /sbin for use macro
- removed -c option from `install` 

---- Files affected:
SPECS:
   dhcdbd.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/dhcdbd.spec
diff -u SPECS/dhcdbd.spec:1.2 SPECS/dhcdbd.spec:1.3
--- SPECS/dhcdbd.spec:1.2	Wed Jul 13 18:45:07 2005
+++ SPECS/dhcdbd.spec	Fri Oct 21 15:34:14 2005
@@ -21,6 +21,8 @@
 Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		%{_sbindir}	/sbin
+
 %description
 DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS,
 stores and presents DHCP options.
@@ -45,7 +47,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -c %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcdbd
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcdbd
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -71,7 +73,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README LICENSE dhcp_options.h dhcdbd.h dbus_service.h
-%attr(755,root,root) /sbin/dhcdbd
+%attr(755,root,root) %{_sbindir}/dhcdbd
 %attr(754,root,root) /etc/rc.d/init.d/dhcdbd
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/dhcdbd.conf
 %{_datadir}/dbus-1/services/dhcdbd.service
@@ -82,6 +84,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/10/21 13:34:14  darekr
+- defined _sbindir to /sbin for use macro
+- removed -c option from `install`
+
 Revision 1.2  2005/07/13 16:45:07  qboosh
 - pl, fixed typos in build, verify() for config
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dhcdbd.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list