[xen] Make libraries executable so that rpm gets dependencies right
myoung
myoung at fedoraproject.org
Mon Jan 31 19:20:17 UTC 2011
commit f13c24050ba3bf712267e73942015fac3a10f32f
Author: Michael Young <m.a.young at durham.ac.uk>
Date: Mon Jan 31 19:16:01 2011 +0000
Make libraries executable so that rpm gets dependencies right
libpermfixes.patch | 22 ++++++++++++++++++++++
xen.spec | 7 ++++++-
2 files changed, 28 insertions(+), 1 deletions(-)
---
diff --git a/libpermfixes.patch b/libpermfixes.patch
new file mode 100644
index 0000000..9aa8f29
--- /dev/null
+++ b/libpermfixes.patch
@@ -0,0 +1,22 @@
+--- xen-4.0.1/tools/blktap/lib/Makefile.orig 2010-08-25 11:22:07.000000000 +0100
++++ xen-4.0.1/tools/blktap/lib/Makefile 2011-01-31 18:41:05.000000000 +0000
+@@ -36,7 +36,7 @@
+ install: all
+ $(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
+ $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)
+- $(INSTALL_DATA) $(LIB) $(DESTDIR)$(LIBDIR)
++ $(INSTALL_PROG) $(LIB) $(DESTDIR)$(LIBDIR)
+ ln -sf libblktap.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)/libblktap.so.$(MAJOR)
+ ln -sf libblktap.so.$(MAJOR) $(DESTDIR)$(LIBDIR)/libblktap.so
+ $(INSTALL_DATA) blktaplib.h $(DESTDIR)$(INCLUDEDIR)
+--- xen-4.0.1/tools/blktap2/vhd/lib/Makefile.orig 2010-08-25 11:22:07.000000000 +0100
++++ xen-4.0.1/tools/blktap2/vhd/lib/Makefile 2011-01-31 18:38:39.000000000 +0000
+@@ -63,7 +63,7 @@
+
+ install: all
+ $(INSTALL_DIR) -p $(DESTDIR)$(INST-DIR)
+- $(INSTALL_DATA) $(LIBVHD) $(DESTDIR)$(INST-DIR)
++ $(INSTALL_PROG) $(LIBVHD) $(DESTDIR)$(INST-DIR)
+ ln -sf libvhd.so.$(LIBVHD-MAJOR).$(LIBVHD-MINOR) $(DESTDIR)$(INST-DIR)/libvhd.so.$(LIBVHD-MAJOR)
+ ln -sf libvhd.so.$(LIBVHD-MAJOR) $(DESTDIR)$(INST-DIR)/libvhd.so
+
diff --git a/xen.spec b/xen.spec
index 4e8392f..6a519a0 100644
--- a/xen.spec
+++ b/xen.spec
@@ -6,7 +6,7 @@
Summary: Xen is a virtual machine monitor
Name: xen
Version: 4.0.1
-Release: 8%{?dist}
+Release: 9%{?dist}
Group: Development/Libraries
License: GPLv2+ and LGPLv2+ and BSD
URL: http://xen.org/
@@ -46,6 +46,7 @@ Patch23: grub-ext4-support.patch
Patch24: xen.8259afix.patch
Patch25: localcleanups.patch
Patch26: localgcc46fix.patch
+Patch27: libpermfixes.patch
Patch100: xen-configure-xend.patch
@@ -175,6 +176,7 @@ to build the xen packages.
%patch24 -p1
%patch25 -p1
%patch26 -p1
+%patch27 -p1
%patch100 -p1
@@ -530,6 +532,9 @@ rm -rf %{buildroot}
%doc licensedir/*
%changelog
+* Mon Jan 31 2011 Michael Young <m.a.young at durham.ac.uk> - 4.0.1-9
+- Make libraries executable so that rpm gets dependencies right
+
* Sat Jan 29 2011 Michael Young <m.a.young at durham.ac.uk> - 4.0.1-8
- Temporarily turn off some compile options so it will build on rawhide
More information about the scm-commits
mailing list