simpler rpath hack
Version: 3.3.3-7
This commit is contained in:
parent
ab85643804
commit
f64e33e456
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: libarchive
|
Name: libarchive
|
||||||
Version: 3.3.3
|
Version: 3.3.3
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: A library for handling streaming archive formats
|
Summary: A library for handling streaming archive formats
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -82,12 +82,8 @@ standard output.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --disable-rpath
|
%configure --disable-static LT_SYS_LIBRARY_PATH=%_libdir
|
||||||
# remove rpaths
|
%make_build
|
||||||
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}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -153,7 +149,7 @@ cat_logs ()
|
|||||||
run_testsuite ()
|
run_testsuite ()
|
||||||
{
|
{
|
||||||
rc=0
|
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
|
# error happened - try to extract in koji as much info as possible
|
||||||
cat_logs
|
cat_logs
|
||||||
|
|
||||||
@ -219,6 +215,9 @@ run_testsuite
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 19 2019 Ondrej Dubaj <odubaj@redhat.com> - 3.3.3-6
|
||||||
- applied various flaws (#1663893)
|
- applied various flaws (#1663893)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user