summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@fedoraproject.org>2008-05-20 05:27:05 +0000
committerBenjamin Marzinski <bmarzins@fedoraproject.org>2008-05-20 05:27:05 +0000
commit005566c77fa9fe9abb2fe7726e398f7538c50c30 (patch)
tree7fdd0d4a75a5fa1a8a4656fa76c9503234283f59
parentd8126f99223482294456332682a6aeabce3b4f7e (diff)
downloaddevice-mapper-multipath-005566c77fa9fe9abb2fe7726e398f7538c50c30.tar.gz
device-mapper-multipath-005566c77fa9fe9abb2fe7726e398f7538c50c30.tar.xz
device-mapper-multipath-005566c77fa9fe9abb2fe7726e398f7538c50c30.zip
Fixed ownership build error.device-mapper-multipath-0_4_8-3_fc10
-rw-r--r--device-mapper-multipath.spec5
-rw-r--r--linking_change.patch6
-rw-r--r--makefiles_fix.patch4
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 <bmarzins@redhat.com> 0.4.8-3
+- Fixed ownership build error.
+
* Mon May 19 2008 Benjamin Marzinksi <bmarzins@redhat.com> 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)