From 637517d8e88438fe57a45dab01cc33f764e880e9 Mon Sep 17 00:00:00 2001 From: blublue Date: Tue, 7 May 2024 02:30:46 +0000 Subject: [PATCH] Reinitialize libtool to remove Rpath Signed-off-by: blublue --- cracklib.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cracklib.spec b/cracklib.spec index 5fc4882..1c174a9 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -3,7 +3,7 @@ Name: cracklib Version: 2.9.11 -Release: 1 +Release: 2 Summary: A password-checking library License: LGPLv2+ @@ -14,7 +14,7 @@ Source1: https://github.com/cracklib/cracklib/releases/download/v%{version}/crac Patch0: fix-problem-of-error-message-about-simplistic-passwo.patch Patch1: fix-error-length-about-simplistic-password.patch -BuildRequires: gcc, words, gettext, gettext-autopoint, zlib-devel +BuildRequires: gcc, words, gettext, gettext-autopoint, zlib-devel libtool BuildRequires: python3-devel Conflicts: cracklib-dicts < 2.8 Requires: gzip @@ -63,6 +63,8 @@ done chmod +x util/cracklib-format %build +# Reinitialize libtool to remove Rpath +autoreconf -vif sed -i 's,util/cracklib-check <,util/cracklib-check $(DESTDIR)/$(DEFAULT_CRACKLIB_DICT) <,' Makefile.in py3include=`python3-config --includes | awk -F' ' '{print $1;}'` export PYTHON=%{__python3} @@ -142,6 +144,9 @@ make test %{_libdir}/python3*/site-packages/__pycache__/* %changelog +* Tue May 07 2024 guoqinglan - 2.9.11-2 +- Reinitialize libtool to remove Rpath + * Fri Jul 14 2023 yixiangzhike - 2.9.11-1 - update to 2.9.11 -- Gitee