Employ %%python_provides macro to provide python2-requests.
This commit is contained in:
parent
7a90ddac18
commit
bfbc9c2d12
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-requests
|
Name: python-requests
|
||||||
Version: 2.7.0
|
Version: 2.7.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: HTTP library, written in Python, for human beings
|
Summary: HTTP library, written in Python, for human beings
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -23,7 +23,11 @@ Patch0: python-requests-system-cert-bundle.patch
|
|||||||
# - https://github.com/kennethreitz/requests/pull/1812
|
# - https://github.com/kennethreitz/requests/pull/1812
|
||||||
Patch1: python-requests-remove-nested-bundling-dep.patch
|
Patch1: python-requests-remove-nested-bundling-dep.patch
|
||||||
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%{?python_provide:%python_provide python2-requests}
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-chardet
|
BuildRequires: python-chardet
|
||||||
BuildRequires: python-urllib3 == 1.10.4
|
BuildRequires: python-urllib3 == 1.10.4
|
||||||
@ -46,6 +50,9 @@ designed to make HTTP requests easy for developers.
|
|||||||
%if 0%{?_with_python3}
|
%if 0%{?_with_python3}
|
||||||
%package -n python3-requests
|
%package -n python3-requests
|
||||||
Summary: HTTP library, written in Python, for human beings
|
Summary: HTTP library, written in Python, for human beings
|
||||||
|
|
||||||
|
%{?python_provide:%python_provide python2-requests}
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-chardet
|
BuildRequires: python3-chardet
|
||||||
BuildRequires: python3-urllib3 == 1.10.4
|
BuildRequires: python3-urllib3 == 1.10.4
|
||||||
@ -145,6 +152,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 15 2015 Ralph Bean <rbean@redhat.com> - 2.7.0-4
|
||||||
|
- Employ %%python_provides macro to provide python2-requests.
|
||||||
|
|
||||||
* Fri Sep 04 2015 Ralph Bean <rbean@redhat.com> - 2.7.0-3
|
* Fri Sep 04 2015 Ralph Bean <rbean@redhat.com> - 2.7.0-3
|
||||||
- Lock down the python-urllib3 version to the specific version we unbundled.
|
- Lock down the python-urllib3 version to the specific version we unbundled.
|
||||||
https://bugzilla.redhat.com/show_bug.cgi?id=1253823
|
https://bugzilla.redhat.com/show_bug.cgi?id=1253823
|
||||||
|
Loading…
Reference in New Issue
Block a user