forked from pool/libguestfs
remove the LD_RUN_PATH patch
The same result can appearently achieved by passing an empty LD_RUN_PATH to make OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=58
This commit is contained in:
parent
9518d1f2bb
commit
4f685999cd
@ -1,19 +0,0 @@
|
|||||||
[ 193s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/libguestfs-1.19.30/src/.libs" on /home/abuild/rpmbuild/BUILDROOT/libguestfs-1.19.30-1.x86_64/usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi/auto/Sys/Guestfs/Guestfs.so is not allowed
|
|
||||||
[ 193s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/libguestfs-1.19.30/src/.libs" on /home/abuild/rpmbuild/BUILDROOT/libguestfs-1.19.30-1.x86_64/usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi/auto/Sys/Guestfs/Guestfs.so is not allowed
|
|
||||||
---
|
|
||||||
perl/Makefile.am | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
Index: b/perl/Makefile.am
|
|
||||||
===================================================================
|
|
||||||
--- a/perl/Makefile.am
|
|
||||||
+++ b/perl/Makefile.am
|
|
||||||
@@ -65,6 +65,8 @@ all: Makefile-pl src_deps
|
|
||||||
|
|
||||||
Makefile-pl: Makefile.PL
|
|
||||||
perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
|
|
||||||
+ @set -x ; \
|
|
||||||
+ for i in `grep -wl ^LD_RUN_PATH Makefile*` ; do sed -i~ 's@^LD_RUN_PATH.*@LD_RUN_PATH=@' $$i ; done
|
|
||||||
|
|
||||||
# No! Otherwise it is deleted before the clean-local rule runs.
|
|
||||||
#CLEANFILES = Makefile-pl
|
|
@ -138,7 +138,6 @@ Version: 1.19.37
|
|||||||
Release: 0
|
Release: 0
|
||||||
Patch0: libguestfs-1.19.37.patch
|
Patch0: libguestfs-1.19.37.patch
|
||||||
Patch5: libguestfs-1.13.14-ruby.patch
|
Patch5: libguestfs-1.13.14-ruby.patch
|
||||||
Patch101: libguestfs.perl.no-rpath.patch
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Source10: libguestfs.mkinitrd.boot.sh
|
Source10: libguestfs.mkinitrd.boot.sh
|
||||||
Source11: libguestfs.mkinitrd.setup.sh
|
Source11: libguestfs.mkinitrd.setup.sh
|
||||||
@ -299,7 +298,6 @@ virtual machines.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch101 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# disable qemu test.
|
# disable qemu test.
|
||||||
@ -332,6 +330,7 @@ autoreconf -fi
|
|||||||
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir instead of the site dir
|
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir instead of the site dir
|
||||||
make \
|
make \
|
||||||
INSTALLDIRS=vendor \
|
INSTALLDIRS=vendor \
|
||||||
|
LD_RUN_PATH= \
|
||||||
%{?jobs:-j%jobs}
|
%{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user