SPECS: EMCpower.spec - install module lists - unify PowerPath scri...

glen glen at pld-linux.org
Tue May 29 15:22:52 CEST 2007


Author: glen                         Date: Tue May 29 13:22:52 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install module lists
- unify PowerPath script name

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

---- Diffs:

================================================================
Index: SPECS/EMCpower.spec
diff -u SPECS/EMCpower.spec:1.18 SPECS/EMCpower.spec:1.19
--- SPECS/EMCpower.spec:1.18	Mon May 28 20:35:41 2007
+++ SPECS/EMCpower.spec	Tue May 29 15:22:46 2007
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define		_rel	0.1
+%define		_rel	0.7
 Summary:	EMC PowerPath - multi-path with fail-over and load-sharing over SCSI
 Summary(pl.UTF-8):	EMC PowerPath - multi-path z fail-over i dzieleniem obciążenia po SCSI
 Name:		EMCpower
@@ -14,12 +14,11 @@
 NoSource:	0
 NoSource:	1
 Patch0:		%{name}-init.patch
+Obsoletes:	EMCpower.LINUX
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_sysconfdir	/something/bogus
 %define		_sbindir	/sbin
-# binaries and libraries are x86
-%define		_libdir		/usr/lib
 
 %description
 Multi-path software providing fail-over and load-sharing for SCSI
@@ -39,19 +38,21 @@
 rpm2cpio %{SOURCE1} | cpio -dimu
 %endif
 mv etc/opt/emcpower/EMCpower.LINUX-%{version}/* .
-#%patch0 -p1
+cp PowerPath{.rhel,}
+%patch0 -p1
+echo 'options emcp managedclass=symm,clariion,hitachi,invista,hpxp,ess,hphsx' >> modprobe.conf.pp
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/emc/ppme,%{_libdir},%{_sbindir},%{_mandir}/man1,/etc/modprobe.d,%{_datadir}/locale,/etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{/etc/emc/ppme,%{_libdir}/emc,%{_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
 cp -a i18n/catalog/* $RPM_BUILD_ROOT%{_datadir}/locale
-install PowerPath.rhel $RPM_BUILD_ROOT/etc/rc.d/init.d/powerpath
+install PowerPath $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/etc/emc/drivers_ext
+cp -a bin/.drivers_* $RPM_BUILD_ROOT/etc/emc
 
 %find_lang EMCpower
 %find_lang PowerPath
@@ -106,11 +107,11 @@
 %defattr(644,root,root,755)
 %dir /etc/emc
 %dir /etc/emc/ppme
-/etc/emc/drivers_ext
+/etc/emc/.drivers_*
 %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(754,root,root) /etc/rc.d/init.d/PowerPath
 %attr(755,root,root) %{_sbindir}/emcpadm
 %attr(755,root,root) %{_sbindir}/emcpdiscover
 %attr(755,root,root) %{_sbindir}/emcpmgr
@@ -121,6 +122,7 @@
 %attr(755,root,root) %{_sbindir}/powerprotect
 %attr(755,root,root) %{_sbindir}/powermig
 %attr(755,root,root) %{_sbindir}/pp_inq
+%dir %{_libdir}/emc
 %attr(755,root,root) %{_libdir}/libemcp.so
 %attr(755,root,root) %{_libdir}/libemcp_core.so
 %attr(755,root,root) %{_libdir}/libemcp_lam.so
@@ -149,6 +151,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2007/05/29 13:22:46  glen
+- install module lists
+- unify PowerPath script name
+
 Revision 1.18  2007/05/28 18:35:41  glen
 - more dirs
 - drop %{_sysconfdir} macro -- confuses
================================================================

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



More information about the pld-cvs-commit mailing list