!21 【openEuler-22.03-LTS-Next】Delete unused ld config file for python module _cracklib.so
From: @yixiangzhike Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
a636de40ab
@ -5,7 +5,7 @@
|
||||
|
||||
Name: cracklib
|
||||
Version: 2.9.7
|
||||
Release: 8
|
||||
Release: 9
|
||||
Summary: A password-checking library
|
||||
|
||||
License: LGPLv2+
|
||||
@ -123,9 +123,6 @@ chrpath -d $RPM_BUILD_ROOT/%{python3_sitearch}/_cracklib.so
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||
echo "%{_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%if %{with python3}
|
||||
echo "%{_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/python3-%{name}-%{_arch}.conf
|
||||
%endif
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
@ -161,10 +158,12 @@ make test
|
||||
%{_libdir}/python3*/site-packages/_cracklib*.so
|
||||
%{_libdir}/python3*/site-packages/*.py*
|
||||
%{_libdir}/python3*/site-packages/__pycache__/*
|
||||
%config(noreplace) /etc/ld.so.conf.d/python3-%{name}-%{_arch}.conf
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Apr 11 2022 yixiangzhike <yixiangzhike007@163.com> - 2.9.7-9
|
||||
- delete unused ld config file for python module _cracklib.so
|
||||
|
||||
* Mon Dec 6 2021 yixiangzhike <yixiangzhike007@163.com> - 2.9.7-8
|
||||
- fix lookup for word in FindPW()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user