Add python2- prefix where possible

This commit is contained in:
Nick Bebout 2018-02-26 11:28:40 -06:00
parent 9e2be19ac0
commit fdf22b2c34

View File

@ -8,7 +8,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.4.3 Version: 1.4.3
Release: 4%{?dist} Release: 5%{?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
@ -27,16 +27,6 @@ This is the Python 2 version of the requests_file module
Summary: Transport adapter for using file:// URLs with python-requests Summary: Transport adapter for using file:// URLs with python-requests
%{?python_provide:%python_provide python2-%{srcname}} %{?python_provide:%python_provide python2-%{srcname}}
%if 0%{?rhel} && 0%{?rhel} <= 7
# EL7 has unversioned names for these packages
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-requests
BuildRequires: python-six
Requires: python-requests
Requires: python-six
%else
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python2-setuptools BuildRequires: python2-setuptools
BuildRequires: python2-requests BuildRequires: python2-requests
@ -110,6 +100,9 @@ rm -rf requests_file.egg-info
%endif %endif
%changelog %changelog
* Mon Feb 26 2018 Nick Bebout <nb@usi.edu> - 1.4.3-5
- Add python2- prefix where possible
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-4 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild