diff --git a/.python-s3transfer.metadata b/.python-s3transfer.metadata index 43e370f..0350010 100644 --- a/.python-s3transfer.metadata +++ b/.python-s3transfer.metadata @@ -1 +1 @@ -a20649f9ae6b363fd8064b3b45c1227db8162e81 SOURCES/s3transfer-0.1.13.tar.gz +ddec7346bd6a4c0fcd7831ed47d6189458c2a156 SOURCES/s3transfer-0.10.1.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-s3transfer.spec b/SPECS/python-s3transfer.spec index 534d251..12be1d0 100644 --- a/SPECS/python-s3transfer.spec +++ b/SPECS/python-s3transfer.spec @@ -1,109 +1,193 @@ -%if 0%{?rhel} && 0%{?rhel} <= 7 -# Minimum nose version is 1.3.3, while EL7 has 1.3.0 -%bcond_with tests -%else -%bcond_without tests -%endif - -%global pypi_name s3transfer +%global srcname s3transfer +%global _description \ +S3transfer is a Python library for managing Amazon S3 transfers. -Name: python-%{pypi_name} -Version: 0.1.13 +Name: python-%{srcname} +Version: 0.10.1 Release: 1%{?dist} -Summary: An Amazon S3 Transfer Manager +Summary: Amazon S3 Transfer Manager + +License: Apache-2.0 +URL: https://pypi.org/project/s3transfer/ +Source0: %{pypi_source} -License: ASL 2.0 -URL: https://github.com/boto/s3transfer -Source0: https://pypi.io/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -%description -S3transfer is a Python library for managing Amazon S3 transfers. +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} -%package -n python3-%{pypi_name} -Summary: An Amazon S3 Transfer Manager BuildRequires: python3-devel -BuildRequires: python3-setuptools -%if %{with tests} -BuildRequires: python3-nose -BuildRequires: python3-mock -BuildRequires: python3-wheel -BuildRequires: python3-botocore -BuildRequires: python3-coverage -BuildRequires: python3-unittest2 -%endif # tests -Requires: python3-botocore -%{?python_provide:%python_provide python3-%{pypi_name}} - -%description -n python3-%{pypi_name} -S3transfer is a Python library for managing Amazon S3 transfers. +BuildRequires: pyproject-rpm-macros +# required to run the test suite +BuildRequires: python3dist(botocore) >= 1.12.36 +BuildRequires: python3dist(botocore) < 2.0 +BuildRequires: python3dist(pytest) + +%description -n python3-%{srcname} %{_description} + +Python 3 version. %prep -%setup -q -n %{pypi_name}-%{version} -# Remove online tests (see https://github.com/boto/s3transfer/issues/8) -rm -rf tests/integration +%autosetup -n %{srcname}-%{version} -p1 + +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files %{srcname} -%if %{with tests} %check -nosetests-%{python3_version} --with-coverage --cover-erase --cover-package s3transfer --with-xunit --cover-xml -v tests/unit/ tests/functional/ -%endif # tests +%pytest tests/unit tests/functional -%files -n python3-%{pypi_name} -%doc README.rst +%files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE.txt -%{python3_sitelib}/%{pypi_name} -%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info +%doc README.rst + %changelog -* Mon Jun 11 2018 Oyvind Albrigtsen - 0.1.13-1 -- Update to 0.1.13 -- Remove python2 package +* Mon Mar 18 2024 Gwyn Ciesla - 0.10.1-1 +- 0.10.1 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Dec 22 2023 Benjamin A. Beasley - 0.10.0-1 +- Update to 0.10.0 (close RHBZ#2255577; fix RHBZ#2255624) + +* Thu Dec 14 2023 Gwyn Ciesla - 0.9.0-1 +- 0.9.0 + +* Thu Nov 30 2023 Gwyn Ciesla - 0.8.2-1 +- 0.8.2 + +* Mon Nov 27 2023 Gwyn Ciesla - 0.8.0-1 +- 0.8.0 + +* Thu Sep 28 2023 Gwyn Ciesla - 0.7.0-1 +- 0.7.0 + +* Wed Aug 16 2023 Gwyn Ciesla - 0.6.2-1 +- 0.6.2 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 04 2023 Python Maint - 0.6.1-2 +- Rebuilt for Python 3.12 + +* Fri May 05 2023 Gwyn Ciesla - 0.6.1-1 +- 0.6.1 + +* Sun Mar 05 2023 Gwyn Ciesla - 0.6.0-5 +- migrated to SPDX license + +* Fri Jan 20 2023 Fedora Release Engineering - 0.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.6.0-2 +- Rebuilt for Python 3.11 + +* Wed Jun 01 2022 Gwyn Ciesla - 0.6.0-1 +- 0.6.0 + +* Tue May 10 2022 Major Hayden - 0.5.2-2 +- Switch to pyproject-rpm-macros. + +* Fri Feb 25 2022 Gwyn Ciesla - 0.5.2-1 +- 0.5.2 + +* Thu Feb 03 2022 Gwyn Ciesla - 0.5.1-1 +- 0.5.1 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jul 15 2021 Gwyn Ciesla - 0.5.0-1 +- 0.5.0 + +* Fri Jun 04 2021 Python Maint - 0.4.2-3 +- Rebuilt for Python 3.10 + +* Fri May 14 2021 Felix Schwarz - 0.4.2-2 +- run test suite as part of the build process + +* Fri Apr 23 2021 Gwyn Ciesla - 0.4.2-1 +- 0.4.2 + +* Thu Apr 22 2021 Gwyn Ciesla - 0.4.1-1 +- 0.4.1 + +* Mon Apr 19 2021 Gwyn Ciesla - 0.4.0-1 +- 0.4.0 + +* Wed Apr 14 2021 Gwyn Ciesla - 0.3.7-1 +- 0.3.7 + +* Mon Mar 22 2021 Gwyn Ciesla - 0.3.6-1 +- 0.3.6 + +* Thu Mar 18 2021 Gwyn Ciesla - 0.3.5-1 +- 0.3.5 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 12 2021 Gwyn Ciesla - 0.3.4-1 +- 0.3.4 -* Sat Feb 11 2017 Fedora Release Engineering - 0.1.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild -* Wed Dec 28 2016 Fabio Alessandro Locati - 0.1.10-1 -- Update to 0.1.10 +* Sun May 24 2020 Miro Hrončok - 0.3.3-2 +- Rebuilt for Python 3.9 -* Mon Dec 19 2016 Miro Hrončok - 0.1.9-2 -- Rebuild for Python 3.6 +* Thu Mar 12 2020 Gwyn Ciesla - 0.3.3-1 +- 0.3.3 -* Thu Oct 27 2016 Fabio Alessandro Locati - 0.1.9-1 -- Update to 0.1.9 +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -* Mon Oct 10 2016 Fabio Alessandro Locati - 0.1.7-1 -- Uodate to 0.1.7 +* Mon Jan 13 2020 Charalampos Stratakis - 0.3.0-1 +- Update to 0.3.0 (rhbz#1717156) -* Sun Oct 02 2016 Fabio Alessandro Locati - 0.1.5-1 -- Update to 0.1.5 +* Tue Nov 19 2019 Orion Poplawski - 0.2.1-1 +- Update to 0.2.1 -* Wed Sep 28 2016 Fabio Alessandro Locati - 0.1.4-1 -- Update to 0.1.4 +* Thu Oct 03 2019 Miro Hrončok - 0.2.0-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) -* Wed Sep 07 2016 Fabio Alessandro Locati - 0.1.3-1 -- Update to 0.1.3 +* Mon Aug 19 2019 Miro Hrončok - 0.2.0-3 +- Rebuilt for Python 3.8 -* Thu Aug 04 2016 Fabio Alessandro Locati - 0.1.1-1 -- Update to 0.1.1 +* Fri Jul 26 2019 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild -* Tue Aug 02 2016 Fabio Alessandro Locati - 0.1.0-1 -- Update to 0.1.0 +* Fri Feb 15 2019 Igor Gnatenko - 0.2.0-1 +- Update to 0.2.0 -* Tue Jul 19 2016 Fedora Release Engineering - 0.0.1-4 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.13-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Wed Feb 24 2016 Fabio Alessandro Locati - 0.0.1-3 -- Cleanup the spec a little bit -- Remove patch +* Mon Jan 14 2019 Ankur Sinha - 0.1.13-5 +- Bump spec to ensure rawhide version > stable releases -* Tue Feb 23 2016 Fabio Alessandro Locati - 0.0.1-2 -- Add patch to remove tests needing web connection +* Mon Jan 14 2019 Ankur Sinha - 0.1.13-2 +- specify python3 subpackage in files section -* Tue Feb 23 2016 Fabio Alessandro Locati - 0.0.1-1 -- Initial package. +* Thu Dec 27 2018 Igor Gnatenko - 0.1.13-1 +- Initial package