diff --git a/libpwquality.spec b/libpwquality.spec index 05a07e8a65..65d528ff56 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.4.0 -Release: 3%{?dist} +Release: 4%{?dist} # The package is BSD licensed with option to relicense as GPLv2+ # - this option is redundant as the BSD license allows that anyway. License: BSD or GPLv2+ @@ -42,12 +42,13 @@ Files needed for development of applications using the libpwquality library. See the pwquality.h header file for the API. -%package -n python-pwquality +%package -n python2-pwquality +%{?python_provide:%python_provide python2-pwquality} Group: Development/Libraries Summary: Python bindings for the libpwquality library Requires: libpwquality%{?_isa} = %{version}-%{release} -%description -n python-pwquality +%description -n python2-pwquality This is pwquality Python module that provides Python bindings for the libpwquality library. These bindings can be used for easy password quality checking and generation of random @@ -138,7 +139,7 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d %{_libdir}/pkgconfig/*.pc %{_mandir}/man3/* -%files -n python-pwquality +%files -n python2-pwquality %defattr(-,root,root,-) %{python_sitearch}/pwquality.so %{python_sitearch}/*.egg-info @@ -149,6 +150,10 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d %{python3_sitearch}/*.egg-info %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.4.0-4 +- Python 2 binary package renamed to python2-pwquality + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild