forked from pool/multipath-tools
- Fix the installation of multipath.rules file.
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=35
This commit is contained in:
parent
7585548e0a
commit
006f2efce3
21
0002-fix-installation-of-multipath-rule.patch
Normal file
21
0002-fix-installation-of-multipath-rule.patch
Normal file
@ -0,0 +1,21 @@
|
||||
Index: multipath-tools-0.4.9/multipath/Makefile
|
||||
===================================================================
|
||||
--- multipath-tools-0.4.9.orig/multipath/Makefile
|
||||
+++ multipath-tools-0.4.9/multipath/Makefile
|
||||
@@ -22,6 +22,7 @@ install:
|
||||
$(INSTALL_PROGRAM) -d $(DESTDIR)$(rcdir)
|
||||
$(INSTALL_PROGRAM) -m 755 multipath.init.suse $(DESTDIR)$(rcdir)/boot.multipath
|
||||
$(INSTALL_PROGRAM) -d $(DESTDIR)/etc/udev/rules.d
|
||||
+ $(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)/etc/udev/rules.d/71-multipath.rules
|
||||
$(INSTALL_PROGRAM) -d $(DESTDIR)$(mkinitrddir)
|
||||
$(INSTALL_PROGRAM) -m 755 boot-multipath.sh $(DESTDIR)$(mkinitrddir)
|
||||
$(INSTALL_PROGRAM) -m 755 setup-multipath.sh $(DESTDIR)$(mkinitrddir)
|
||||
@@ -31,7 +32,7 @@ install:
|
||||
$(INSTALL_PROGRAM) -m 644 $(EXEC).conf.5 $(DESTDIR)$(man5dir)
|
||||
|
||||
uninstall:
|
||||
- rm $(DESTDIR)/etc/udev/rules.d/multipath.rules
|
||||
+ rm $(DESTDIR)/etc/udev/rules.d/71-multipath.rules
|
||||
rm $(DESTDIR)$(bindir)/$(EXEC)
|
||||
rm $(DESTDIR)$(mandir)/$(EXEC).8
|
||||
rm $(DESTDIR)$(man5dir)/$(EXEC).conf.5
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 17 12:43:43 UTC 2012 - rmilasan@suse.com
|
||||
|
||||
- Fix the installation of multipath.rules file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 11 12:58:05 UTC 2012 - rmilasan@suse.com
|
||||
|
||||
|
@ -33,6 +33,7 @@ Source: multipath-tools-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch0: %{name}-%{version}-opensuse-12.2.diff.bz2
|
||||
Patch1: 0001-multipath.rules.patch
|
||||
Patch2: 0002-fix-installation-of-multipath-rule.patch
|
||||
|
||||
%description
|
||||
This package provides the tools to manage multipathed devices by
|
||||
@ -74,6 +75,7 @@ Authors:
|
||||
%setup -q -n multipath-tools-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%_lib
|
||||
@ -132,6 +134,7 @@ fi
|
||||
%dir /etc/udev/rules.d
|
||||
%config /etc/init.d/multipathd
|
||||
%config /etc/init.d/boot.multipath
|
||||
%config /etc/udev/rules.d/71-multipath.rules
|
||||
/%{_lib}/libmultipath.so.0
|
||||
/%{_lib}/libmpathpersist.so.0
|
||||
/%{_lib}/multipath
|
||||
|
Loading…
Reference in New Issue
Block a user