Blame SOURCES/0210-RH-fix-uninstall.patch

d88bf6
---
d88bf6
 libmpathpersist/Makefile |    6 ++++--
d88bf6
 1 file changed, 4 insertions(+), 2 deletions(-)
d88bf6
d88bf6
Index: multipath-tools-130222/libmpathpersist/Makefile
d88bf6
===================================================================
d88bf6
--- multipath-tools-130222.orig/libmpathpersist/Makefile
d88bf6
+++ multipath-tools-130222/libmpathpersist/Makefile
d88bf6
@@ -33,12 +33,14 @@ install: $(LIBS)
d88bf6
 	ln -sf $(LIBS) $(DESTDIR)$(syslibdir)/$(DEVLIB)
d88bf6
 	install -m 644 mpath_persistent_reserve_in.3.gz $(DESTDIR)$(man3dir)	
d88bf6
 	install -m 644 mpath_persistent_reserve_out.3.gz $(DESTDIR)$(man3dir)	
d88bf6
+	$(INSTALL_PROGRAM) -m 644 mpath_persist.h $(DESTDIR)$(includedir)
d88bf6
 
d88bf6
 uninstall:
d88bf6
 	rm -f $(DESTDIR)$(syslibdir)/$(LIBS)
d88bf6
 	rm -f $(DESTDIR)$(syslibdir)/$(DEVLIB)
d88bf6
-	rm $(DESTDIR)$(mandir)/mpath_persistent_reserve_in.3.gz	
d88bf6
-	rm $(DESTDIR)$(mandir)/mpath_persistent_reserve_out.3.gz	
d88bf6
+	rm $(DESTDIR)$(man3dir)/mpath_persistent_reserve_in.3.gz
d88bf6
+	rm $(DESTDIR)$(man3dir)/mpath_persistent_reserve_out.3.gz
d88bf6
+	rm -f $(DESTDIR)$(includedir)/mpath_persist.h
d88bf6
 
d88bf6
 clean:
d88bf6
 	rm -f core *.a *.o