diff --git a/cracklib.spec b/cracklib.spec index 3789fdd195965e34f6b880c4517ccdfc7bbdec9e..4c0a61a669165ef379a090303f857288d776b4d2 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