Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-03 11:16:12 +01:00
parent 96682a090d
commit 73c5a99220

View File

@ -5,7 +5,7 @@
Summary: A password-checking library
Name: cracklib
Version: 2.9.6
Release: 9%{?dist}
Release: 10%{?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
@ -29,7 +29,7 @@ Patch8: cracklib-2.9.6-cve-2016-6318.patch
URL: http://sourceforge.net/projects/cracklib/
License: LGPLv2+
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: python-devel, words, gettext
BuildRequires: python2-devel, words, gettext
BuildRequires: gettext-autopoint
BuildRequires: zlib-devel
Conflicts: cracklib-dicts < 2.8
@ -226,6 +226,10 @@ EOF
%{_libdir}/python*/site-packages/*.py*
%changelog
* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.9.6-10
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.6-9
- Add Provides for the old name without %%_isa