diff --git a/cracklib.spec b/cracklib.spec index 8cfb716..f01c0f2 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -5,7 +5,7 @@ Summary: A password-checking library Name: cracklib Version: 2.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: System Environment/Libraries Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz @@ -152,7 +152,7 @@ make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -c -p" -C python +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -c -p" 'pythondir=${pyexecdir}' -C python ./util/cracklib-format cracklib-dicts/* | \ ./util/cracklib-packer $RPM_BUILD_ROOT/%{dictpath} ./util/cracklib-format $RPM_BUILD_ROOT/%{dictdir}/cracklib-small | \ @@ -254,9 +254,12 @@ EOF %files python %defattr(-,root,root) %{_libdir}/python*/site-packages/_cracklib*.so -%{_libdir}/../lib/python*/site-packages/*.py* +%{_libdir}/python*/site-packages/*.py* %changelog +* Wed Feb 5 2014 Tomáš Mráz - 2.9.1-2 +- move python files to libdir + * Mon Dec 9 2013 Tomáš Mráz - 2.9.1-1 - new upstream release