Compare commits

...

No commits in common. 'c9' and 'c10-beta' have entirely different histories.
c9 ... c10-beta

2
.gitignore vendored

@ -1 +1 @@
SOURCES/requests-file-1.5.1.tar.gz SOURCES/requests-file-2.0.0.tar.gz

@ -1 +1 @@
3c9bd5e80a5cc9135e346e5c2b56b7d8dbdbbd66 SOURCES/requests-file-1.5.1.tar.gz 2d4fe1daebaf44ddcba1d31f8a50959be712f6fd SOURCES/requests-file-2.0.0.tar.gz

@ -1,68 +1,89 @@
%global srcname requests-file %global srcname requests-file
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.5.1 Version: 2.0.0
Release: 4%{?dist} Release: 3%{?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: Apache-2.0
URL: https://github.com/dashea/requests-file URL: https://github.com/dashea/requests-file
Source0: %pypi_source Source0: %pypi_source
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(pytest)
%description %global _description %{expand:
Requests-File is a transport adapter for use with the Requests Python Requests-File is a transport adapter for use with the Requests Python
library to allow local file system access via file:// URLs. library to allow local file system access via file:// URLs.}
This is the Python 2 version of the requests_file module %description %_description
%package -n python3-requests-file %package -n python3-requests-file
Summary: Transport adapter for using file:// URLs with python3-requests Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-setuptools
BuildRequires: python3-requests
BuildRequires: python3-six
Requires: python3-requests %description -n python3-requests-file %_description
Requires: python3-six
%description -n python3-requests-file
Requests-File is a transport adapter for use with the Requests Python
library to allow local file system access via file:// URLs.
This is the Python 3 version of the requests_file module
%prep %prep
%autosetup -n %{srcname}-%{version} %autosetup -n %{srcname}-%{version}
rm -rf requests_file.egg-info
%generate_buildrequires
%pyproject_buildrequires
%build %build
%py3_build %pyproject_wheel
%install %install
%py3_install %pyproject_install
%pyproject_save_files requests_file
%check %check
%{pytest} %{pytest}
%files -n python3-requests-file %files -n python3-requests-file -f %{pyproject_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python3_sitelib}/requests_file.py*
%{python3_sitelib}/__pycache__/requests_file.*
%{python3_sitelib}/requests_file*.egg-info*
%changelog %changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.1-4 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.0.0-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for June 2024 mass rebuild
Related: rhbz#1991688
* Fri Feb 02 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 2.0.0-2
- Avoid tox dependency
* Mon Jan 29 2024 David Shea <reallylongword@gmail.com> - 2.0.0-1
- Update to version 2.0.0
- Apply current python packaging recommendations to the spec file
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.5.1-9
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.5.1-6
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.1-3 * Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.5.1-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save