diff --git a/.gitignore b/.gitignore index f317292..9621ab5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /requests-file-1.3.1.tar.gz /requests-file-1.4.tar.gz /requests-file-1.4.3.tar.gz +/requests-file-1.5.1.tar.gz diff --git a/python-requests-file.spec b/python-requests-file.spec index 40a9198..09911c8 100644 --- a/python-requests-file.spec +++ b/python-requests-file.spec @@ -1,8 +1,8 @@ %global srcname requests-file Name: python-%{srcname} -Version: 1.4.3 -Release: 16%{?dist} +Version: 1.5.1 +Release: 1%{?dist} Summary: Transport adapter for using file:// URLs with python-requests License: ASL 2.0 @@ -22,6 +22,7 @@ Summary: Transport adapter for using file:// URLs with python3-requests %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel +BuildRequires: python3-pytest BuildRequires: python3-setuptools BuildRequires: python3-requests BuildRequires: python3-six @@ -46,7 +47,7 @@ rm -rf requests_file.egg-info %py3_install %check -%{__python3} setup.py test +%{pytest} %files -n python3-requests-file %license LICENSE @@ -56,6 +57,10 @@ rm -rf requests_file.egg-info %{python3_sitelib}/requests_file*.egg-info* %changelog +* Mon Dec 14 2020 David Shea - 1.5.1-1 +- Make Content-Length optional +- Fix python2 compatibility + * Wed Jul 29 2020 Fedora Release Engineering - 1.4.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index ebf61fd..b513d35 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (requests-file-1.4.3.tar.gz) = b92294a11c9cc13beb5df598b636d999e0fcd46d05b775bbb69667f066d24ccf55b5af2135aec8d69c0096ca64e13bab3c3da64bee00f0c12edd05f43430d80c +SHA512 (requests-file-1.5.1.tar.gz) = e671bba8de63d3fa5665f928734f1a152d95ac9973c99f3a09d2dcbb9c9c16334c54a4f0824a5ebe63e262a4cc5d4990f08244ff0b84af11fa475dd416b1e2bc