Update to 1.5.1

- Make Content-Length optional
- Fix python2 compatibility
This commit is contained in:
David Shea 2020-12-14 12:28:17 -05:00
parent e17ac5a6e5
commit 8614e35a0f
3 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/requests-file-1.3.1.tar.gz /requests-file-1.3.1.tar.gz
/requests-file-1.4.tar.gz /requests-file-1.4.tar.gz
/requests-file-1.4.3.tar.gz /requests-file-1.4.3.tar.gz
/requests-file-1.5.1.tar.gz

View File

@ -1,8 +1,8 @@
%global srcname requests-file %global srcname requests-file
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.4.3 Version: 1.5.1
Release: 16%{?dist} Release: 1%{?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,6 +22,7 @@ Summary: Transport adapter for using file:// URLs with python3-requests
%{?python_provide:%python_provide python3-%{srcname}} %{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-requests BuildRequires: python3-requests
BuildRequires: python3-six BuildRequires: python3-six
@ -46,7 +47,7 @@ rm -rf requests_file.egg-info
%py3_install %py3_install
%check %check
%{__python3} setup.py test %{pytest}
%files -n python3-requests-file %files -n python3-requests-file
%license LICENSE %license LICENSE
@ -56,6 +57,10 @@ rm -rf requests_file.egg-info
%{python3_sitelib}/requests_file*.egg-info* %{python3_sitelib}/requests_file*.egg-info*
%changelog %changelog
* Mon Dec 14 2020 David Shea <reallylongword@gmail.com> - 1.5.1-1
- Make Content-Length optional
- Fix python2 compatibility
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-16 * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (requests-file-1.4.3.tar.gz) = b92294a11c9cc13beb5df598b636d999e0fcd46d05b775bbb69667f066d24ccf55b5af2135aec8d69c0096ca64e13bab3c3da64bee00f0c12edd05f43430d80c SHA512 (requests-file-1.5.1.tar.gz) = e671bba8de63d3fa5665f928734f1a152d95ac9973c99f3a09d2dcbb9c9c16334c54a4f0824a5ebe63e262a4cc5d4990f08244ff0b84af11fa475dd416b1e2bc