Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-03-13 21:35:18 +01:00
parent f7eb1e9a37
commit f6e6545134

View File

@ -2,7 +2,7 @@
Name: python-%{pypi_name}
Version: 5.0.6
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Config file reading, writing, and validation
Group: System Environment/Libraries
@ -17,10 +17,10 @@ Source0: https://github.com/DiffSK/%{pypi_name}/archive/v%{version}.tar.g
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-six
BuildRequires: python2-setuptools
BuildRequires: python2-six
%{?fc22:BuildRequires: pytest}
%{!?fc22:BuildRequires: python-pytest}
%{!?fc22:BuildRequires: python2-pytest}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-six
@ -35,7 +35,7 @@ straightforward programmer's interface and a simple syntax for config files.
Summary: Config file reading, writing and validation
%{?python_provide:%python_provide python2-%{pypi_name}}
Requires: python-six
Requires: python2-six
%description -n python2-%{pypi_name}
ConfigObj is a simple but powerful configuration file reader and writer: an ini
file round tripper. Its main feature is that it is very easy to use, with a
@ -83,6 +83,10 @@ py.test-%{python3_version} tests
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog
* Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.0.6-11
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild