From c5c58a12ea06e5baf946e0209bcb40e9724cf101 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:28:11 +0100 Subject: [PATCH] automatic version update by autodist [release 1.4.5-1mamba;Tue Nov 22 2022] --- libpwquality.spec | 68 ++++++++++++++++++++++++++++++----------------- 1 file changed, 44 insertions(+), 24 deletions(-) diff --git a/libpwquality.spec b/libpwquality.spec index 94096ea..c3f0ea6 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -1,25 +1,21 @@ Name: libpwquality -Version: 1.4.4 +Version: 1.4.5 Release: 1mamba Summary: A library for password quality checking and generation of random passwords Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://fedorahosted.org/libpwquality/ +URL: https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement Source: https://github.com/libpwquality/libpwquality/releases/download/libpwquality-%{version}/libpwquality-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libaudit-devel -BuildRequires: libcap-ng-devel BuildRequires: libcrack-devel BuildRequires: libpam-devel -BuildRequires: libpython-devel -BuildRequires: libpython27-devel -BuildRequires: libz-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} %description libpwquality is a library for password quality checking and generation of random passwords that pass the checks. @@ -28,12 +24,27 @@ libpwquality is a library for password quality checking and generation of random Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -## note: you can add this requirement if .pc files are provided by this package -#Requires: pkg-config +Requires: pkg-config %description devel This package contains libraries and header files for developing applications that use %{name}. +%package tools +Group: Applications/Security +Summary: Tools provided with %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains the tools provided with %{name}. + +%package -n python-pwquality +Group: System/Libraries/Python +Summary: Python bindings to %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n python-pwquality +This package contains the Python bindings to %{name}. + %debug_package %prep @@ -41,7 +52,9 @@ This package contains libraries and header files for developing applications tha %build %configure \ - --with-securedir=/%{_lib}/security + --with-securedir=%{_libdir}/security \ + --with-python-binary=python3 \ + --with-python-rev=%{python3_version} %make @@ -59,32 +72,39 @@ This package contains libraries and header files for developing applications tha %files -f %{name}.lang %defattr(-,root,root) -%{_sysconfdir}/security/pwquality.conf -%{_bindir}/pwmake -%{_bindir}/pwscore %{_libdir}/libpwquality.so.* -%{python_sitearch}/pwquality.so -%{python_sitearch}/pwquality-%{version}-py*.egg-info -/%{_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* -%{_mandir}/man8/pam_pwquality.8* +%{_libdir}/security/pam_pwquality.a +%{_libdir}/security/pam_pwquality.so %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_includedir}/pwquality.h %{_libdir}/libpwquality.a -%{_libdir}/libpwquality.la %{_libdir}/libpwquality.so %{_libdir}/pkgconfig/pwquality.pc %{_mandir}/man3/pwquality.3* %doc ChangeLog NEWS README +%files tools +%defattr(-,root,root) +%{_sysconfdir}/security/pwquality.conf +%{_bindir}/pwmake +%{_bindir}/pwscore +%{_mandir}/man1/pwmake.1* +%{_mandir}/man1/pwscore.1* +%{_mandir}/man5/pwquality.conf.5* +%{_mandir}/man8/pam_pwquality.8* + +%files -n python-pwquality +%defattr(-,root,root) +%dir %{python3_sitearch}/pwquality-%{version}-py*.egg +%{python3_sitearch}/pwquality-%{version}-py*.egg/* + %changelog +* Tue Nov 22 2022 Automatic Build System 1.4.5-1mamba +- automatic version update by autodist + * Wed Oct 21 2020 Automatic Build System 1.4.4-1mamba - automatic version update by autodist