diff --git a/libpwquality.spec b/libpwquality.spec index 77b9e71..25041ad 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -1,6 +1,6 @@ Name: libpwquality Version: 1.3.0 -Release: 1mamba +Release: 2mamba Summary: A library for password quality checking and generation of random passwords Group: System/Libraries Vendor: openmamba @@ -13,10 +13,9 @@ License: GPL BuildRequires: glibc-devel BuildRequires: libaudit-devel BuildRequires: libcrack-devel +BuildRequires: libpam-devel BuildRequires: libpython-devel BuildRequires: libz-devel -BuildRequires: pam-devel -BuildRequires: pkg-config ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -39,7 +38,9 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%configure +%configure \ + --with-securedir=/%{_lib}/security + %make %install @@ -62,9 +63,9 @@ This package contains libraries and header files for developing applications tha %{_libdir}/libpwquality.so.* %{python_sitearch}/pwquality.so %{python_sitearch}/pwquality-%{version}-py*.egg-info -%{_libdir}/security/pam_pwquality.a -%{_libdir}/security/pam_pwquality.la -%{_libdir}/security/pam_pwquality.so +/%{_lib}/security/pam_pwquality.a +/%{_lib}/security/pam_pwquality.la +/%{_lib}/security/pam_pwquality.so %{_mandir}/man1/pwmake.1* %{_mandir}/man1/pwscore.1* %{_mandir}/man5/pwquality.conf.5* @@ -82,6 +83,9 @@ This package contains libraries and header files for developing applications tha %doc ChangeLog NEWS README %changelog +* Sun Dec 04 2016 Silvan Calarco 1.3.0-2mamba +- install pam files into /%{_lib}/security + * Wed Dec 23 2015 Automatic Build System 1.3.0-1mamba - automatic version update by autodist