simpler rpath hack
Version: 3.3.3-7
This commit is contained in:
parent
ab85643804
commit
f64e33e456
@ -2,7 +2,7 @@
|
||||
|
||||
Name: libarchive
|
||||
Version: 3.3.3
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: A library for handling streaming archive formats
|
||||
|
||||
License: BSD
|
||||
@ -82,12 +82,8 @@ standard output.
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-rpath
|
||||
# remove rpaths
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%configure --disable-static LT_SYS_LIBRARY_PATH=%_libdir
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
@ -153,7 +149,7 @@ cat_logs ()
|
||||
run_testsuite ()
|
||||
{
|
||||
rc=0
|
||||
LD_LIBRARY_PATH=`pwd`/.libs make %{?_smp_mflags} check -j1 || {
|
||||
%make_build check -j1 || {
|
||||
# error happened - try to extract in koji as much info as possible
|
||||
cat_logs
|
||||
|
||||
@ -219,6 +215,9 @@ run_testsuite
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 28 2019 Pavel Raiskup <praiskup@redhat.com> - 3.3.3-7
|
||||
- simplify libtool hacks
|
||||
|
||||
* Thu Mar 19 2019 Ondrej Dubaj <odubaj@redhat.com> - 3.3.3-6
|
||||
- applied various flaws (#1663893)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user