Resolves: #1533448 - avoid using rpath in the psl executable

This commit is contained in:
Kamil Dudka 2018-07-27 16:12:21 +02:00
parent 6978b8afff
commit 0911a0ab05

View File

@ -1,6 +1,6 @@
Name: libpsl
Version: 0.20.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: C library for the Publix Suffix List
License: MIT
URL: https://rockdaboot.github.io/libpsl
@ -98,6 +98,11 @@ sed -i -e "1s|#!.*|#!%{__python3}|" src/psl-make-dafsa
--with-psl-file=%{_datadir}/publicsuffix/effective_tld_names.dat \
--with-psl-testfile=%{_datadir}/publicsuffix/test_psl.txt
# avoid using rpath
sed -i libtool \
-e 's|^\(runpath_var=\).*$|\1|' \
-e 's|^\(hardcode_libdir_flag_spec=\).*$|\1|'
%make_build
%install
@ -138,6 +143,9 @@ make check || cat tests/test-suite.log
%{_mandir}/man1/psl-make-dafsa.1*
%changelog
* Fri Jul 27 2018 Kamil Dudka <kdudka@redhat.com> - 0.20.2-5
- avoid using rpath in the psl executable (#1533448)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild