diff --git cracklib/cracklib.spec cracklib/cracklib.spec.tmp index 7b4adb512b..2d923cdcdf 100644 --- cracklib/cracklib.spec +++ cracklib/cracklib.spec.tmp @@ -5,7 +5,7 @@ Summary: A password-checking library Name: cracklib Version: 2.9.6 -Release: 7%{?dist} +Release: 8%{?dist} Group: System Environment/Libraries Source0: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-%{version}.tar.gz Source1: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-words-%{version}.gz @@ -63,12 +63,15 @@ Requires: %{name} = %{version}-%{release} The cracklib-devel package contains the header files and libraries needed for compiling applications which use cracklib. -%package python +%package -n python2-cracklib +%{?python_provide:%python_provide python2-cracklib} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} Summary: Python bindings for applications which use cracklib Group: Development/Libraries Requires: %{name} = %{version}-%{release} -%description python +%description -n python2-cracklib The cracklib-python package contains a module which permits applications written in the Python programming language to use cracklib. @@ -215,12 +218,16 @@ EOF %{_sbindir}/mkdict %{_sbindir}/packer -%files python +%files -n python2-cracklib %defattr(-,root,root) %{_libdir}/python*/site-packages/_cracklib*.so %{_libdir}/python*/site-packages/*.py* %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.9.6-8 +- Python 2 binary package renamed to python2-cracklib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 2.9.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild