SPECS: multipath-tools.spec - multipathd to /usr/sbin

glen glen at pld-linux.org
Sun Oct 16 01:22:16 CEST 2005


Author: glen                         Date: Sat Oct 15 23:22:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- multipathd to /usr/sbin

---- Files affected:
SPECS:
   multipath-tools.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/multipath-tools.spec
diff -u SPECS/multipath-tools.spec:1.8 SPECS/multipath-tools.spec:1.9
--- SPECS/multipath-tools.spec:1.8	Sun Oct 16 01:19:14 2005
+++ SPECS/multipath-tools.spec	Sun Oct 16 01:22:11 2005
@@ -17,7 +17,8 @@
 Requires:	udev >= 1:070-4.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_sbindir /sbin
+%define		_sbindir	/sbin
+%define		_bindir		%{_prefix}/sbin
 
 %description
 multipath-tools provides the tools to manage multipathed devices by
@@ -43,9 +44,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT{%{_prefix}/bin,%{_bindir}}/multipathd
 mv $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/{,40-}multipath.rules
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/block/multipath.dev
 
@@ -82,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/10/15 23:22:11  glen
+- multipathd to /usr/sbin
+
 Revision 1.8  2005/10/15 23:19:14  glen
 - BR device-mapper
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/multipath-tools.spec?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list