New upstream release.
- 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
This commit is contained in:
parent
b3ae634ebc
commit
1daf1d97e8
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
||||
@ -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 <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
* Thu May 24 2012 Tomas Mraz <tmraz@redhat.com> 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 <tmraz@redhat.com> 1.0.0-1
|
||||
- added a few additional password quality checks
|
||||
|
||||
Loading…
Reference in New Issue
Block a user