Blame SOURCES/0225-RH-udevdir.patch

4ae388
---
4ae388
 Makefile.inc       |    2 +-
4ae388
 multipath/Makefile |   10 +++++-----
4ae388
 2 files changed, 6 insertions(+), 6 deletions(-)
4ae388
4ae388
Index: multipath-tools-130222/multipath/Makefile
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/multipath/Makefile
4ae388
+++ multipath-tools-130222/multipath/Makefile
4ae388
@@ -24,9 +24,9 @@ install:
4ae388
 	$(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir)
4ae388
 	$(INSTALL_PROGRAM) -m 755 $(EXEC) $(DESTDIR)$(bindir)/
4ae388
 	$(INSTALL_PROGRAM) -m 755 mpathconf $(DESTDIR)$(bindir)/
4ae388
-	$(INSTALL_PROGRAM) -d $(DESTDIR)/usr/lib/udev/rules.d
4ae388
-	$(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)/usr/lib/udev/rules.d/62-multipath.rules
4ae388
-	$(INSTALL_PROGRAM) -m 644 11-dm-mpath.rules $(DESTDIR)/usr/lib/udev/rules.d/11-dm-mpath.rules
4ae388
+	$(INSTALL_PROGRAM) -d $(DESTDIR)$(libudevdir)/rules.d
4ae388
+	$(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)$(libudevdir)/rules.d/62-multipath.rules
4ae388
+	$(INSTALL_PROGRAM) -m 644 11-dm-mpath.rules $(DESTDIR)$(libudevdir)/rules.d/11-dm-mpath.rules
4ae388
 	$(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir)
4ae388
 	$(INSTALL_PROGRAM) -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir)
4ae388
 	$(INSTALL_PROGRAM) -d $(DESTDIR)$(man5dir)
4ae388
@@ -34,8 +34,8 @@ install:
4ae388
 	$(INSTALL_PROGRAM) -m 644 mpathconf.8.gz $(DESTDIR)$(mandir)
4ae388
 
4ae388
 uninstall:
4ae388
-	rm $(DESTDIR)/usr/lib/udev/rules.d/62-multipath.rules
4ae388
-	rm $(DESTDIR)/usr/lib/udev/rules.d/11-dm-mpath.rules
4ae388
+	rm $(DESTDIR)$(libudevdir)/rules.d/62-multipath.rules
4ae388
+	rm $(DESTDIR)$(libudevdir)/rules.d/11-dm-mpath.rules
4ae388
 	rm $(DESTDIR)$(bindir)/$(EXEC)
4ae388
 	rm $(DESTDIR)$(bindir)/mpathconf
4ae388
 	rm $(DESTDIR)$(mandir)/$(EXEC).8.gz
4ae388
Index: multipath-tools-130222/Makefile.inc
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/Makefile.inc
4ae388
+++ multipath-tools-130222/Makefile.inc
4ae388
@@ -24,7 +24,7 @@ endif
4ae388
 prefix      = 
4ae388
 exec_prefix = $(prefix)
4ae388
 bindir      = $(exec_prefix)/usr/sbin
4ae388
-libudevdir  = ${prefix}/lib/udev
4ae388
+libudevdir  = ${prefix}/usr/lib/udev
4ae388
 multipathdir = $(TOPDIR)/libmultipath
4ae388
 mandir      = $(prefix)/usr/share/man/man8
4ae388
 man5dir     = $(prefix)/usr/share/man/man5