Python 2 binary package renamed to python2-pwquality

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-12-17 13:05:13 -05:00
parent cc5cdd8b16
commit c9a741157e

View File

@ -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 <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild