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

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