diff --git a/python-requests.spec b/python-requests.spec index 9eaa8b896b5e90d9d7097aa388243cae445f98af..d03be50ced3ce24a0523c6546abdb7670440cd63 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -2,7 +2,7 @@ Name: python-requests Version: 2.24.0 -Release: 2 +Release: 3 Summary: Python HTTP Library License: ASL 2.0 URL: http://python-requests.org/ @@ -32,19 +32,6 @@ Features of Requests: - Authentication: + URL + HTTP Auth Registry. -%package -n python2-requests -Summary: HTTP library, written in Python, for human beings -%{?python_provide:%python_provide python2-requests} -BuildRequires: python2-devel python2-idna python2-chardet python2-urllib3 -%if %{with tests} -BuildRequires: python2-pytest python2-pytest-mock python2-pytest-cov -%endif -Requires: ca-certificates python2-idna python2-chardet python2-urllib3 - -%description -n python2-requests -This package exists only to allow packagers to uniformly depend on -python2-requests. - %package -n python%{python3_pkgversion}-requests Summary: Awesome Python HTTP Library That's Actually Usable @@ -82,24 +69,16 @@ rm -rf requests/cacert.pem sed -i '/#!\/usr\/.*python/d' requests/certs.py %build -%py2_build %py3_build %install -%py2_install %py3_install %if %{with tests} %check -PYTHONPATH=%{buildroot}%{python2_sitelib} %{__python2} -m pytest -v PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %endif # tests -%files -n python2-requests -%license LICENSE -%{python2_sitelib}/*.egg-info -%{python2_sitelib}/requests/ - %files -n python%{python3_pkgversion}-requests %defattr(-,root,root) %license LICENSE @@ -112,6 +91,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v %doc HISTORY.md README.md %changelog +*Fri Sep 11 2020 jinzhimin - 2.24.0-3 +- remove python2-requests package + *Tue Aug 4 2020 wuchaochao - 2.24.0-2 - Type:bugfix - ID:NA