- ld.so is basically empty nowadays, so put together a config file
just to ignore rpaths OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=64
This commit is contained in:
parent
d62833e747
commit
b23f77c377
9
ignore-ldso.conf.patch
Normal file
9
ignore-ldso.conf.patch
Normal file
@ -0,0 +1,9 @@
|
||||
Index: post-build-checks-1.0/suse-buildsystem.sh
|
||||
===================================================================
|
||||
--- post-build-checks-1.0.orig/suse-buildsystem.sh 2011-10-20 11:57:54.000000000 +0200
|
||||
+++ post-build-checks-1.0/suse-buildsystem.sh 2012-06-04 12:07:23.597872870 +0200
|
||||
@@ -1,3 +1,3 @@
|
||||
-export SUSE_IGNORED_RPATHS=/etc/ld.so.conf
|
||||
+export SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf
|
||||
export SUSE_ASNEEDED=1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 4 10:14:34 UTC 2012 - coolo@suse.com
|
||||
|
||||
- ld.so is basically empty nowadays, so put together a config file
|
||||
just to ignore rpaths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 28 08:18:18 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
@ -35,6 +35,7 @@ Url: http://gitorious.org/opensuse/post-build-checks
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch0: new.diff
|
||||
Patch1: strim-whitespace.diff
|
||||
Patch2: ignore-ldso.conf.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -53,6 +54,7 @@ it may not be a good idea to install this to a running system:
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
# nothing to do
|
||||
@ -67,6 +69,14 @@ install -m 755 helper/* $RPM_BUILD_ROOT/usr/lib/build/helper
|
||||
install -m 644 -D suse-buildsystem.sh $RPM_BUILD_ROOT/etc/profile.d/suse-buildsystem.sh
|
||||
chmod 755 $RPM_BUILD_ROOT/usr/lib/build/checks-data/check*
|
||||
|
||||
( echo %_libdir
|
||||
echo /usr/local/%_lib
|
||||
echo %_lib
|
||||
echo %_libdir/Xaw3d
|
||||
echo /usr/x86_64-suse-linux/lib
|
||||
echo /opt/kde3/%_lib
|
||||
) > $RPM_BUILD_ROOT/etc/suse-ignored-rpaths.conf
|
||||
|
||||
%check
|
||||
for i in tests/xx*.c
|
||||
do
|
||||
@ -101,5 +111,6 @@ fi
|
||||
%doc COPYING
|
||||
/usr/lib/build
|
||||
/etc/profile.d/suse-buildsystem.sh
|
||||
/etc/suse-ignored-rpaths.conf
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user