diff --git a/cracklib.spec b/cracklib.spec index f0216eb..32835d6 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -5,17 +5,22 @@ Name: cracklib -Version: 2.9.6 +Version: 2.9.7 Release: 1mamba Summary: A password-checking library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -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 URL: http://sourceforge.net/projects/cracklib License: Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-build %if "%{_build}" == "%{_host}" BuildRequires: python >= 2.4.4 @@ -91,9 +96,11 @@ Python cracklib library module. %prep %setup -q -chmod +x util/cracklib-format +#chmod +x util/cracklib-format %build +cd src +./autogen.sh %configure %make DEFAULT_CRACKLIB_DICT=%{CRACKLIB_DICT_PATHNAME} @@ -103,7 +110,7 @@ chmod +x util/cracklib-format #install -d %{buildroot}%{_libdir} #install -d %{buildroot}%{_sbindir} #install -m 644 %{SOURCE1} %{buildroot}%{_libdir}/pw_dict - +cd src %makeinstall DEFAULT_CRACKLIB_DICT=%{CRACKLIB_DICT_PATHNAME} # install dict @@ -118,6 +125,7 @@ make dict DEFAULT_CRACKLIB_DICT=%{buildroot}%{CRACKLIB_DICT_PATHNAME} %endif # rm -f %{buildroot}%{_libdir}/pw_dict +cd .. %find_lang %{name} @@ -160,6 +168,9 @@ make dict DEFAULT_CRACKLIB_DICT=%{buildroot}%{CRACKLIB_DICT_PATHNAME} %{CRACKLIB_DICT_PATHNAME}.pwi %changelog +* Sat Oct 26 2019 Silvan Calarco 2.9.7-1mamba +- update to 2.9.7 + * Sat Apr 30 2016 Silvan Calarco 2.9.6-1mamba - update to 2.9.6