!37 Delete runpath or rpath in command file
From: @yixiangzhike Reviewed-by: @houmingyong Signed-off-by: @houmingyong
This commit is contained in:
commit
6e6bbca903
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: cracklib
|
Name: cracklib
|
||||||
Version: 2.9.7
|
Version: 2.9.7
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: A password-checking library
|
Summary: A password-checking library
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -19,7 +19,7 @@ Patch1: backport-cracklib-2.9.6-lookup.patch
|
|||||||
Patch2: fix-error-length-about-simplistic-password.patch
|
Patch2: fix-error-length-about-simplistic-password.patch
|
||||||
Patch3: fix-truncating-dict-file-without-input-data.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}
|
%if %{with python2}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
%endif
|
%endif
|
||||||
@ -159,6 +159,14 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcrack.la
|
|||||||
|
|
||||||
%find_lang %{name}
|
%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
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
@ -199,6 +207,9 @@ make test
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 9 2023 yixiangzhike <yixiangzhike007@163.com> - 2.9.7-7
|
||||||
|
- delete runpath or rpath in command file
|
||||||
|
|
||||||
* Sat Aug 13 2022 yixiangzhike <yixiangzhike007@163.com> - 2.9.7-6
|
* Sat Aug 13 2022 yixiangzhike <yixiangzhike007@163.com> - 2.9.7-6
|
||||||
- fix issue of truncating dict file without input data
|
- fix issue of truncating dict file without input data
|
||||||
- fix error length about simplistic password
|
- fix error length about simplistic password
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user