SPECS: EMCpower.spec - use our initscript - package hardcoded prog...
glen
glen at pld-linux.org
Fri Aug 24 17:21:29 CEST 2007
Author: glen Date: Fri Aug 24 15:21:29 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use our initscript
- package hardcoded program paths
---- Files affected:
SPECS:
EMCpower.spec (1.24 -> 1.25)
---- Diffs:
================================================================
Index: SPECS/EMCpower.spec
diff -u SPECS/EMCpower.spec:1.24 SPECS/EMCpower.spec:1.25
--- SPECS/EMCpower.spec:1.24 Fri Aug 24 16:05:39 2007
+++ SPECS/EMCpower.spec Fri Aug 24 17:21:24 2007
@@ -23,7 +23,7 @@
%define releq_kernel_smp kernel-smp = 0:%{__kernel_ver}
%define releq_kernel_up kernel-up = 0:%{__kernel_ver}
-%define _rel 0.12
+%define _rel 0.20
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
@@ -41,7 +41,7 @@
# NoSource1-md5: cf980fc4714f0be008de168333cefcb4
NoSource: 1
%endif
-Patch0: %{name}-init.patch
+Source2: PowerPath.init
Requires(post,preun): /sbin/chkconfig
Obsoletes: EMCpower.LINUX
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -110,8 +110,6 @@
rpm2cpio %{SOURCE1} | cpio -dimu
%endif
mv etc/opt/emcpower/EMCpower.LINUX-%{version}/* .
-cp PowerPath{.rhel,}
-%patch0 -p1
echo 'options emcp managedclass=symm,clariion,hitachi,invista,hpxp,ess,hphsx' >> modprobe.conf.pp
%install
@@ -121,7 +119,7 @@
cp -a man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
cp -a i18n/catalog/* $RPM_BUILD_ROOT%{_datadir}/locale
-install PowerPath $RPM_BUILD_ROOT/etc/rc.d/init.d/PowerPath
+install %{SOURCE2} $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_* $RPM_BUILD_ROOT/etc/emc
@@ -244,9 +242,11 @@
# hardcoded paths. oh sigh
%dir /etc/opt/emcpower
+/etc/opt/emcpower/emcpmgr
+/etc/opt/emcpower/powercf
%ghost /etc/opt/emcpower/.__emcp_db_global_lock
%ghost /etc/opt/emcpower/.__emcp_db_lock
-/opt/emcpower
+%dir /opt/emcpower
%dir /etc/emcpower
%endif
@@ -256,6 +256,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2007/08/24 15:21:24 glen
+- use our initscript
+- package hardcoded program paths
+
Revision 1.24 2007/08/24 14:05:39 glen
- only depend on target arch sources
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/EMCpower.spec?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list