update to 2.9.7 [release 2.9.7-1mamba;Sat Oct 26 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 21:33:06 +01:00
parent 8fb6b92d7b
commit f9ad1335e3

View File

@ -5,17 +5,22 @@
Name: cracklib Name: cracklib
Version: 2.9.6 Version: 2.9.7
Release: 1mamba Release: 1mamba
Summary: A password-checking library Summary: A password-checking library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
Source0: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-%{version}.tar.gz Source0: https://github.com/cracklib/cracklib.git/v%{version}/cracklib-%{version}.tar.bz2
Patch0: cracklib-2.7-redhat.patch.bz2 Patch0: cracklib-2.7-redhat.patch.bz2
URL: http://sourceforge.net/projects/cracklib URL: http://sourceforge.net/projects/cracklib
License: Artistic License: Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if "%{_build}" == "%{_host}" %if "%{_build}" == "%{_host}"
BuildRequires: python >= 2.4.4 BuildRequires: python >= 2.4.4
@ -91,9 +96,11 @@ Python cracklib library module.
%prep %prep
%setup -q %setup -q
chmod +x util/cracklib-format #chmod +x util/cracklib-format
%build %build
cd src
./autogen.sh
%configure %configure
%make DEFAULT_CRACKLIB_DICT=%{CRACKLIB_DICT_PATHNAME} %make DEFAULT_CRACKLIB_DICT=%{CRACKLIB_DICT_PATHNAME}
@ -103,7 +110,7 @@ chmod +x util/cracklib-format
#install -d %{buildroot}%{_libdir} #install -d %{buildroot}%{_libdir}
#install -d %{buildroot}%{_sbindir} #install -d %{buildroot}%{_sbindir}
#install -m 644 %{SOURCE1} %{buildroot}%{_libdir}/pw_dict #install -m 644 %{SOURCE1} %{buildroot}%{_libdir}/pw_dict
cd src
%makeinstall DEFAULT_CRACKLIB_DICT=%{CRACKLIB_DICT_PATHNAME} %makeinstall DEFAULT_CRACKLIB_DICT=%{CRACKLIB_DICT_PATHNAME}
# install dict # install dict
@ -118,6 +125,7 @@ make dict DEFAULT_CRACKLIB_DICT=%{buildroot}%{CRACKLIB_DICT_PATHNAME}
%endif %endif
# rm -f %{buildroot}%{_libdir}/pw_dict # rm -f %{buildroot}%{_libdir}/pw_dict
cd ..
%find_lang %{name} %find_lang %{name}
@ -160,6 +168,9 @@ make dict DEFAULT_CRACKLIB_DICT=%{buildroot}%{CRACKLIB_DICT_PATHNAME}
%{CRACKLIB_DICT_PATHNAME}.pwi %{CRACKLIB_DICT_PATHNAME}.pwi
%changelog %changelog
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.7-1mamba
- update to 2.9.7
* Sat Apr 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.6-1mamba * Sat Apr 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.6-1mamba
- update to 2.9.6 - update to 2.9.6