SPECS: EMCpower.spec - more dirs - drop %{_sysconfdir} macro -- co...

glen glen at pld-linux.org
Mon May 28 20:35:46 CEST 2007


Author: glen                         Date: Mon May 28 18:35:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more dirs
- drop %{_sysconfdir} macro -- confuses

---- Files affected:
SPECS:
   EMCpower.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/EMCpower.spec
diff -u SPECS/EMCpower.spec:1.17 SPECS/EMCpower.spec:1.18
--- SPECS/EMCpower.spec:1.17	Mon May 28 20:04:46 2007
+++ SPECS/EMCpower.spec	Mon May 28 20:35:41 2007
@@ -16,7 +16,7 @@
 Patch0:		%{name}-init.patch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_sysconfdir	/etc/emc
+%define		_sysconfdir	/something/bogus
 %define		_sbindir	/sbin
 # binaries and libraries are x86
 %define		_libdir		/usr/lib
@@ -43,7 +43,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_libdir},%{_sbindir},%{_mandir}/man1,/etc/modprobe.d,%{_datadir}/locale,/etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{/etc/emc/ppme,%{_libdir},%{_sbindir},%{_mandir}/man1,/etc/modprobe.d,%{_datadir}/locale,/etc/rc.d/init.d}
 
 cp -a man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 install modprobe.conf.pp $RPM_BUILD_ROOT/etc/modprobe.d/%{name}.conf
@@ -51,7 +51,7 @@
 install PowerPath.rhel $RPM_BUILD_ROOT/etc/rc.d/init.d/powerpath
 install bin/lib/* $RPM_BUILD_ROOT%{_libdir}
 install bin/cmds/* $RPM_BUILD_ROOT%{_sbindir}
-cp -a bin/.drivers_ext $RPM_BUILD_ROOT%{_sysconfdir}/drivers_ext
+cp -a bin/.drivers_ext $RPM_BUILD_ROOT/etc/emc/drivers_ext
 
 %find_lang EMCpower
 %find_lang PowerPath
@@ -66,11 +66,12 @@
 
 install -d $RPM_BUILD_ROOT/opt/emcpower
 install -d $RPM_BUILD_ROOT/etc/emcpower
-touch $RPM_BUILD_ROOT%{_sysconfdir}/mpaa.{excluded,lams}
+touch $RPM_BUILD_ROOT/etc/emc/mpaa.{excluded,lams}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if 0
 %verifyscript
 echo "These PowerPath modules are installed"
 /sbin/lsmod | head -n 1
@@ -99,13 +100,15 @@
 	/sbin/powermt config > /dev/null 2>&1
 	/sbin/powermt load > /dev/null 2>&1
 fi
+%endif
 
 %files -f EMCpower.lang
 %defattr(644,root,root,755)
-%dir %{_sysconfdir}
-%{_sysconfdir}/drivers_ext
-%ghost %{_sysconfdir}/mpaa.excluded
-%ghost %{_sysconfdir}/mpaa.lams
+%dir /etc/emc
+%dir /etc/emc/ppme
+/etc/emc/drivers_ext
+%ghost /etc/emc/mpaa.excluded
+%ghost /etc/emc/mpaa.lams
 /etc/modprobe.d/EMCpower.conf
 %attr(754,root,root) /etc/rc.d/init.d/powerpath
 %attr(755,root,root) %{_sbindir}/emcpadm
@@ -146,6 +149,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2007/05/28 18:35:41  glen
+- more dirs
+- drop %{_sysconfdir} macro -- confuses
+
 Revision 1.17  2007/05/28 18:04:46  glen
 - update to 5.0.0-157
 - dropped kernel parts (it won't work anyway)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/EMCpower.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list