Blame SOURCES/0225-RH-udevdir.patch

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