diff --git a/.gitignore b/.gitignore index 0c4c7b4..3921b40 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /libpwquality-0.9.tar.bz2 /libpwquality-0.9.9.tar.bz2 /libpwquality-1.0.0.tar.bz2 +/libpwquality-1.1.0.tar.bz2 diff --git a/libpwquality.spec b/libpwquality.spec index 52fbbd7..e9d145f 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -1,7 +1,7 @@ Summary: A library for password generation and password quality checking Name: libpwquality -Version: 1.0.0 -Release: 2%{?dist} +Version: 1.1.0 +Release: 1%{?dist} # The package is BSD licensed with option to relicense as GPL+ # - this option is redundant as the BSD license allows that anyway. License: BSD or GPL+ @@ -36,6 +36,7 @@ to perform some of the checks. Group: Development/Libraries Summary: Files needed for developing PAM-aware applications and modules for PAM Requires: libpwquality%{?_isa} = %{version}-%{release} +Requires: pkgconfig %description devel Files needed for development of applications using the libpwquality @@ -58,7 +59,7 @@ pronounceable passwords from Python applications. %build %configure \ - --libdir=/%{_lib} \ + --with-securedir=/%{_lib}/security \ --with-pythonsitedir=%{python_sitearch} \ --disable-static @@ -67,12 +68,11 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' -mkdir -p $RPM_BUILD_ROOT%{_libdir} pushd $RPM_BUILD_ROOT%{_libdir} +mv libpwquality.so.* $RPM_BUILD_ROOT/%{_lib}/ ln -sf ../../%{_lib}/libpwquality.so.*.* libpwquality.so popd -rm -f $RPM_BUILD_ROOT/%{_lib}/*.so -rm -f $RPM_BUILD_ROOT/%{_lib}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_moduledir}/*.la %find_lang libpwquality @@ -100,14 +100,19 @@ rm -f $RPM_BUILD_ROOT%{_moduledir}/*.la %defattr(-,root,root,-) %{_includedir}/pwquality.h %{_libdir}/libpwquality.so +%{_libdir}/pkgconfig/*.pc %files -n python-pwquality %defattr(-,root,root,-) %{python_sitearch}/pwquality.so %changelog -* Fri Jan 13 2012 Fedora Release Engineering - 1.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild +* Thu May 24 2012 Tomas Mraz 1.1.0-1 +- fix leak when throwing PWQError exception +- added pkgconfig file +- call the simplicity checks before the cracklib check +- add enforce_for_root option to the PAM module +- updated translations from Transifex * Thu Dec 8 2011 Tomas Mraz 1.0.0-1 - added a few additional password quality checks diff --git a/sources b/sources index 7b4e297..68cd29f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -35e809791aedcbedfb3bd33f1a715984 libpwquality-1.0.0.tar.bz2 +21db9a7877ab14b0fb29d4448c798de6 libpwquality-1.1.0.tar.bz2