libdb: Switch to patchelf to remove the RPATH
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
parent
b9dbe6d36d
commit
7d1a3678e5
|
@ -8,7 +8,7 @@ version_major = 6
|
|||
version_minor = 1
|
||||
version_patch = 26
|
||||
version = %{version_major}.%{version_minor}.%{version_patch}
|
||||
release = 4
|
||||
release = 5
|
||||
thisapp = db-%{version}
|
||||
|
||||
soversion = %{version_major}.%{version_minor}
|
||||
|
@ -29,9 +29,9 @@ source_dl = http://download.oracle.com/berkeley-db/
|
|||
build
|
||||
requires
|
||||
automake
|
||||
chrpath
|
||||
gcc-c++
|
||||
libtool
|
||||
patchelf
|
||||
perl
|
||||
zlib-devel
|
||||
end
|
||||
|
@ -71,7 +71,7 @@ build
|
|||
install_cmds
|
||||
# Remove RPATH in all binaries.
|
||||
for i in %{BUILDROOT}%{bindir}/*; do
|
||||
chrpath --delete ${i}
|
||||
patchelf --remove-rpath ${i}
|
||||
done
|
||||
|
||||
# Remove documentation which is very big.
|
||||
|
|
Loading…
Reference in New Issue