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

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