From 005566c77fa9fe9abb2fe7726e398f7538c50c30 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Tue, 20 May 2008 05:27:05 +0000 Subject: Fixed ownership build error. --- device-mapper-multipath.spec | 5 ++++- linking_change.patch | 6 +++--- makefiles_fix.patch | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec index 18f8c01..0337331 100644 --- a/device-mapper-multipath.spec +++ b/device-mapper-multipath.spec @@ -1,7 +1,7 @@ Summary: Tools to manage multipath devices using device-mapper Name: device-mapper-multipath Version: 0.4.8 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ Group: System Environment/Base URL: http://christophe.varoqui.free.fr/ @@ -103,6 +103,9 @@ fi %{_mandir}/man8/kpartx.8.gz %changelog +* Mon May 19 2008 Benjamin Marzinksi 0.4.8-3 +- Fixed ownership build error. + * Mon May 19 2008 Benjamin Marzinksi 0.4.8-2 - Forgot to commit some patches. diff --git a/linking_change.patch b/linking_change.patch index 69cea86..0215e3a 100644 --- a/linking_change.patch +++ b/linking_change.patch @@ -11,9 +11,9 @@ Index: multipath-tools-080519/libmultipath/Makefile install: + $(INSTALL_PROGRAM) -d $(DESTDIR)$(prefix)/lib -+ $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(DESTDIR)$(prefix)/lib/$(LIBS) - $(INSTALL_PROGRAM) -o root -g root -m 755 -d $(DESTDIR)$(libdir) -- $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(DESTDIR)$(libdir)/$(LIBS) ++ $(INSTALL_PROGRAM) -m 755 $(LIBS) $(DESTDIR)$(prefix)/lib/$(LIBS) + $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)$(libdir) +- $(INSTALL_PROGRAM) -m 755 $(LIBS) $(DESTDIR)$(libdir)/$(LIBS) + ldconfig uninstall: diff --git a/makefiles_fix.patch b/makefiles_fix.patch index 976fd0e..0c6d4fe 100644 --- a/makefiles_fix.patch +++ b/makefiles_fix.patch @@ -8,8 +8,8 @@ Index: multipath-tools-080519/libmultipath/Makefile install: - $(INSTALL_PROGRAM) -o root -g root -m 755 -d $(libdir) - $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(libdir)/$(LIBS) -+ $(INSTALL_PROGRAM) -o root -g root -m 755 -d $(DESTDIR)$(libdir) -+ $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(DESTDIR)$(libdir)/$(LIBS) ++ $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)$(libdir) ++ $(INSTALL_PROGRAM) -m 755 $(LIBS) $(DESTDIR)$(libdir)/$(LIBS) uninstall: - rm -f $(libdir)/$(LIBS) -- cgit