Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-09 14:33:39 +01:00
parent dda3fb5576
commit d1b82a7dc2

View File

@ -6,7 +6,7 @@
Name: python-%{pname} Name: python-%{pname}
Version: 0.13.14 Version: 0.13.14
Release: 2%{?dist} Release: 3%{?dist}
Summary: YAML 1.2 loader/dumper package for Python Summary: YAML 1.2 loader/dumper package for Python
License: MIT License: MIT
@ -26,16 +26,16 @@ It is a derivative of Kirill Simonovs PyYAML 3.11
%package -n python2-%{pname} %package -n python2-%{pname}
Summary: YAML 1.2 loader/dumper package for Python Summary: YAML 1.2 loader/dumper package for Python
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python-setuptools BuildRequires: python2-setuptools
# For tests # For tests
BuildRequires: pytest BuildRequires: python2-pytest
BuildRequires: python2-ruamel-ordereddict BuildRequires: python2-ruamel-ordereddict
BuildRequires: python2-typing >= 3.5.2.2-2 BuildRequires: python2-typing >= 3.5.2.2-2
%{?python_provide:%python_provide python2-%{pypi_name}} %{?python_provide:%python_provide python2-%{pypi_name}}
Requires: python2-ruamel-ordereddict Requires: python2-ruamel-ordereddict
Requires: python2-typing >= 3.5.2.2-2 Requires: python2-typing >= 3.5.2.2-2
Requires: python-setuptools Requires: python2-setuptools
%description -n python2-%{pname} %description -n python2-%{pname}
ruamel.yaml is a YAML 1.2 loader/dumper package for Python. ruamel.yaml is a YAML 1.2 loader/dumper package for Python.
@ -106,6 +106,10 @@ PYTHONPATH=$(echo build/lib.*%{python3_version}) py.test-%{python3_version} _tes
%endif %endif
%changelog %changelog
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.13.14-3
- 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> - 0.13.14-2 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild