From 5b1bd2d31dac365b1e9ff4b7cad58282667c9736 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Thu, 9 Nov 2023 10:55:33 +0800 Subject: [PATCH] Delete runpath or rpath in command file --- cracklib.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/cracklib.spec b/cracklib.spec index 3789fdd..4c0a61a 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -6,7 +6,7 @@ Name: cracklib Version: 2.9.7 -Release: 6 +Release: 7 Summary: A password-checking library License: LGPLv2+ @@ -19,7 +19,7 @@ Patch1: backport-cracklib-2.9.6-lookup.patch Patch2: fix-error-length-about-simplistic-password.patch Patch3: fix-truncating-dict-file-without-input-data.patch -BuildRequires: gcc, words, gettext, gettext-autopoint, zlib-devel +BuildRequires: gcc, words, gettext, gettext-autopoint, zlib-devel, chrpath %if %{with python2} BuildRequires: python2-devel %endif @@ -159,6 +159,14 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcrack.la %find_lang %{name} +# delete runpath/rpath in command file +# /usr/sbin/cracklib-check +# /usr/sbin/cracklib-packer +# /usr/sbin/cracklib-unpacker +chrpath -d $RPM_BUILD_ROOT/%{_sbindir}/cracklib-check +chrpath -d $RPM_BUILD_ROOT/%{_sbindir}/cracklib-packer +chrpath -d $RPM_BUILD_ROOT/%{_sbindir}/cracklib-unpacker + %check make test @@ -199,6 +207,9 @@ make test %endif %changelog +* Thu Nov 9 2023 yixiangzhike - 2.9.7-7 +- delete runpath or rpath in command file + * Sat Aug 13 2022 yixiangzhike - 2.9.7-6 - fix issue of truncating dict file without input data - fix error length about simplistic password -- Gitee