Add Provides for the old name without %_isa
This commit is contained in:
parent
31ac5ac711
commit
bd8f1f5510
@ -5,7 +5,7 @@
|
|||||||
Summary: A password-checking library
|
Summary: A password-checking library
|
||||||
Name: cracklib
|
Name: cracklib
|
||||||
Version: 2.9.6
|
Version: 2.9.6
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source0: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-%{version}.tar.gz
|
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
|
Source1: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-words-%{version}.gz
|
||||||
@ -64,13 +64,14 @@ The cracklib-devel package contains the header files and libraries needed
|
|||||||
for compiling applications which use cracklib.
|
for compiling applications which use cracklib.
|
||||||
|
|
||||||
%package -n python2-cracklib
|
%package -n python2-cracklib
|
||||||
%{?python_provide:%python_provide python2-cracklib}
|
|
||||||
# Remove before F30
|
|
||||||
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
|
||||||
Obsoletes: %{name}-python < %{version}-%{release}
|
|
||||||
Summary: Python bindings for applications which use cracklib
|
Summary: Python bindings for applications which use cracklib
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%{?python_provide:%python_provide python2-cracklib}
|
||||||
|
# Remove before F30
|
||||||
|
Provides: %{name}-python = %{version}-%{release}
|
||||||
|
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-python < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python2-cracklib
|
%description -n python2-cracklib
|
||||||
The cracklib-python package contains a module which permits applications
|
The cracklib-python package contains a module which permits applications
|
||||||
@ -225,6 +226,9 @@ EOF
|
|||||||
%{_libdir}/python*/site-packages/*.py*
|
%{_libdir}/python*/site-packages/*.py*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.6-9
|
||||||
|
- Add Provides for the old name without %%_isa
|
||||||
|
|
||||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.6-8
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.6-8
|
||||||
- Python 2 binary package renamed to python2-cracklib
|
- Python 2 binary package renamed to python2-cracklib
|
||||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||||
|
Loading…
Reference in New Issue
Block a user