From 9a355c5b10925ff4a4deb761401583da48908393 Mon Sep 17 00:00:00 2001 From: fly_fzc <2385803914@qq.com> Date: Mon, 12 Aug 2024 10:21:00 +0800 Subject: [PATCH] avoid using rpath in the psl executable --- libpsl.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/libpsl.spec b/libpsl.spec index 72e3b7c..3ee96ae 100644 --- a/libpsl.spec +++ b/libpsl.spec @@ -1,6 +1,6 @@ Name: libpsl Version: 0.21.2 -Release: 1 +Release: 2 Summary: C library to handle the Public Suffix List License: MIT URL: https://github.com/rockdaboot/libpsl @@ -73,6 +73,12 @@ sed -i -e "1s|#!.*|#!%{__python3}|" src/psl-make-dafsa --with-psl-distfile=%{_datadir}/publicsuffix/public_suffix_list.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 @@ -116,6 +122,12 @@ make check %{_bindir}/psl-make-dafsa %changelog +* Mon Aug 12 2024 fuanan - 0.21.2-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:avoid using rpath in the psl executable + * Tue Jan 17 2023 fuanan - 0.21.2-1 - Type:update - ID: NA -- Gitee