Author: glen                         Date: Wed Nov 14 14:20:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move bindings file to /etc/multipath/bindings

---- Files affected:
SPECS:
   multipath-tools.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/multipath-tools.spec
diff -u SPECS/multipath-tools.spec:1.38 SPECS/multipath-tools.spec:1.39
--- SPECS/multipath-tools.spec:1.38     Wed Nov 14 00:14:01 2007
+++ SPECS/multipath-tools.spec  Wed Nov 14 15:20:35 2007
@@ -1,22 +1,24 @@
 # $Revision$, $Date$
 # Conditional build:
-%bcond_without initrd          # don't build initrd version
+%bcond_with    initrd          # build initrd version (very broken)
 #
 Summary:       Tools to manage multipathed devices with the device-mapper
 Summary(pl.UTF-8):     Implementacja wielotrasowego dostępu do zasobów przy 
użyciu device-mappera
 Name:          multipath-tools
 Version:       0.4.8
-Release:       0.9
+Release:       0.12
 License:       GPL v2
 Group:         Base
 Source0:       
http://christophe.varoqui.free.fr/multipath-tools/%{name}-%{version}.tar.bz2
 # Source0-md5: 3563b863b408d07c46929b6e8c2c248c
 Source1:       multipathd.init
 Source2:       multipathd.sysconfig
+Source3:       %{name}-bindings
 URL:           http://christophe.varoqui.free.fr/
 Patch100:      %{name}-branch.diff
 Patch0:                %{name}-llh.patch
 Patch1:                %{name}-kpartx-udev.patch
+Patch2:                %{name}-bindings.patch
 # was not used - is OPTIONS+="last_rule" still needed?
 #PatchX:       %{name}-udev.patch
 BuildRequires: device-mapper-devel >= 1.02.08
@@ -64,9 +66,10 @@
 
 %prep
 %setup -q
-%patch100 -p1
+#%patch100 -p1
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 mv kpartx/README README.kpartx
 %{__sed} -i -e 's,/lib/libdevmapper.so,/%{_lib}/libdevmapper.so,' 
libmultipath/Makefile
@@ -97,7 +100,7 @@
 install -D multipath.conf.annotated 
$RPM_BUILD_ROOT%{_sysconfdir}/multipath.conf
 install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/multipathd
 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/multipathd
-install -d $RPM_BUILD_ROOT/var/lib/multipath
+install -D %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/multipath/bindings
 mv $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/{,40-}multipath.rules
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/block/multipath.dev
 
@@ -132,10 +135,11 @@
 %attr(754,root,root) /etc/rc.d/init.d/multipathd
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/multipathd
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/multipath.conf
+%dir %{_sysconfdir}/multipath
+%config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/multipath/bindings
 %{_sysconfdir}/udev/rules.d/40-multipath.rules
 %{_sysconfdir}/udev/rules.d/kpartx.rules
 %attr(755,root,root) /lib/udev/kpartx_id
-%dir /var/lib/multipath
 %{_mandir}/man5/multipath.conf.5*
 %{_mandir}/man8/devmap_name.8*
 %{_mandir}/man8/kpartx.8*
@@ -149,6 +153,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2007-11-14 14:20:35  glen
+- move bindings file to /etc/multipath/bindings
+
 Revision 1.38  2007-11-13 23:14:01  glen
 - add branch.diff
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/multipath-tools.spec?r1=1.38&r2=1.39&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to