SPECS: ifenslave.spec - define _sbindir to /sbin (to use macro)
darekr
darekr at pld-linux.org
Fri Dec 23 11:11:32 CET 2005
Author: darekr Date: Fri Dec 23 10:11:32 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- define _sbindir to /sbin (to use macro)
---- Files affected:
SPECS:
ifenslave.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/ifenslave.spec
diff -u SPECS/ifenslave.spec:1.12 SPECS/ifenslave.spec:1.13
--- SPECS/ifenslave.spec:1.12 Wed Sep 22 17:30:16 2004
+++ SPECS/ifenslave.spec Fri Dec 23 11:11:26 2005
@@ -10,6 +10,8 @@
Source0: %{name}.c
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sbindir /sbin
+
%description
ifenslave configures network interfaces for parallel routing.
@@ -26,14 +28,14 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -D %{name} $RPM_BUILD_ROOT/sbin/%{name}
+install -D %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%attr(755,root,root) /sbin/ifenslave
+%attr(755,root,root) %{_sbindir}/ifenslave
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -41,6 +43,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2005/12/23 10:11:26 darekr
+- define _sbindir to /sbin (to use macro)
+
Revision 1.12 2004/09/22 15:30:16 adasi
- arrrrrrrrgh
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ifenslave.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list