SPECS: EMCpower.spec - rel 0.7: initscript fixes
glen
glen at pld-linux.org
Thu Jun 1 13:56:12 CEST 2006
Author: glen Date: Thu Jun 1 11:56:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 0.7: initscript fixes
---- Files affected:
SPECS:
EMCpower.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/EMCpower.spec
diff -u SPECS/EMCpower.spec:1.2 SPECS/EMCpower.spec:1.3
--- SPECS/EMCpower.spec:1.2 Wed May 31 15:17:06 2006
+++ SPECS/EMCpower.spec Thu Jun 1 13:56:07 2006
@@ -21,7 +21,7 @@
#
# main package.
#
-%define _rel 0.4
+%define _rel 0.7
Summary: EMC PowerPath
Name: EMCpower
Version: 4.5.1
@@ -32,12 +32,15 @@
# NoSource0-md5: ed93c4daa2169b992c888ef5c27a6334
Source1: %{name}.LINUX-%{version}-022.sles.x86_64.rpm
# NoSource1-md5: b9e452479cff19640dee5431ff96f56c
+Patch0: %{name}-init.patch
%if %{with kernel}
%{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.14}
BuildRequires: rpmbuild(macros) >= 1.286
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sysconfdir /etc/emcpower
+
%description
Multi-path software providing fail-over and load-sharing for SCSI
disks.
@@ -95,6 +98,8 @@
rpm2cpio %{SOURCE1} | cpio -dimu
%endif
mv etc/opt/emcpower/EMCpower.LINUX-%{version}/* .
+%patch0 -p1
+
ln -s emcplib.Makefile bin/driver/Makefile
%build
@@ -141,7 +146,7 @@
rm -rf $RPM_BUILD_ROOT
%if %{with userspace}
-install -d $RPM_BUILD_ROOT{%{_libdir},%{_sbindir},%{_mandir}/man1,/etc/modprobe.d,%{_datadir}/locale,/etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_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
@@ -149,6 +154,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
%find_lang EMCpower
%find_lang PowerPath
@@ -218,6 +224,8 @@
%if %{with userspace}
%files -f EMCpower.lang
%defattr(644,root,root,755)
+%dir %{_sysconfdir}
+%{_sysconfdir}/drivers_ext
/etc/modprobe.d/EMCpower.conf
%attr(754,root,root) /etc/rc.d/init.d/powerpath
%attr(755,root,root) %{_sbindir}/emcpadm
@@ -250,6 +258,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2006/06/01 11:56:07 glen
+- rel 0.7: initscript fixes
+
Revision 1.2 2006/05/31 13:17:06 glen
- add up bcond
- put drivers to kernel/drivers/block
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/EMCpower.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list