Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-27 03:38:32 +01:00
parent f4f4e20dee
commit 0263dd3d66

View File

@ -2,7 +2,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.4.3 Version: 1.4.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: Transport adapter for using file:// URLs with python-requests Summary: Transport adapter for using file:// URLs with python-requests
License: ASL 2.0 License: ASL 2.0
@ -22,12 +22,12 @@ Summary: Transport adapter for using file:// URLs with python-requests
%{?python_provide:%python_provide python2-%{srcname}} %{?python_provide:%python_provide python2-%{srcname}}
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python-setuptools BuildRequires: python2-setuptools
BuildRequires: python-requests BuildRequires: python2-requests
BuildRequires: python-six BuildRequires: python2-six
Requires: python-requests Requires: python2-requests
Requires: python-six Requires: python2-six
%description -n python2-%{srcname} %description -n python2-%{srcname}
Requests-File is a transport adapter for use with the Requests Python Requests-File is a transport adapter for use with the Requests Python
@ -83,6 +83,10 @@ rm -rf requests_file.egg-info
%{python3_sitelib}/requests_file*.egg-info* %{python3_sitelib}/requests_file*.egg-info*
%changelog %changelog
* Sat Jan 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.4.3-2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Wed Jan 3 2018 David Shea <dshea@redhat.com> - 1.4.3-1 * Wed Jan 3 2018 David Shea <dshea@redhat.com> - 1.4.3-1
- Update to requests-file-1.4.3, which sets the response URL to the request URL - Update to requests-file-1.4.3, which sets the response URL to the request URL