2021-03-15 15:57:01 +00:00
|
|
|
# tests are enabled by default
|
2017-08-15 12:33:48 +00:00
|
|
|
%bcond_without tests
|
|
|
|
|
2021-03-15 16:01:17 +00:00
|
|
|
Name: python-six
|
2021-05-10 17:39:51 +00:00
|
|
|
Version: 1.16.0
|
2023-07-21 14:05:29 +00:00
|
|
|
Release: 12%{?dist}
|
2011-07-21 17:56:10 +00:00
|
|
|
Summary: Python 2 and 3 compatibility utilities
|
|
|
|
|
2023-08-09 09:38:16 +00:00
|
|
|
# SPDX
|
2011-07-21 17:56:10 +00:00
|
|
|
License: MIT
|
2021-05-10 17:45:03 +00:00
|
|
|
URL: https://github.com/benjaminp/six
|
2021-03-15 16:01:17 +00:00
|
|
|
Source0: %{pypi_source six}
|
2011-07-21 17:56:10 +00:00
|
|
|
|
2023-11-22 11:21:53 +00:00
|
|
|
# tkinter.tix was removed from Python 3.13, skip the test
|
|
|
|
# https://github.com/benjaminp/six/pull/377
|
|
|
|
Patch: tkinter.tix-was-removed-from-Python-3.13.patch
|
|
|
|
|
2011-07-21 17:56:10 +00:00
|
|
|
BuildArch: noarch
|
2016-08-09 11:56:30 +00:00
|
|
|
|
2020-09-07 10:13:50 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
2021-05-10 17:45:03 +00:00
|
|
|
BuildRequires: pyproject-rpm-macros
|
2017-08-15 12:33:48 +00:00
|
|
|
|
|
|
|
%if %{with tests}
|
2021-05-10 17:45:03 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
BuildRequires: python%{python3_pkgversion}-tkinter
|
2017-08-15 12:33:48 +00:00
|
|
|
%endif
|
2011-07-21 17:56:10 +00:00
|
|
|
|
2021-03-15 16:01:17 +00:00
|
|
|
%global _description %{expand:
|
2021-05-10 17:45:03 +00:00
|
|
|
Six is a Python 2 and 3 compatibility library. It provides utility functions
|
|
|
|
for smoothing over the differences between the Python versions with the goal
|
|
|
|
of writing Python code that is compatible on both Python versions.}
|
2021-03-15 16:01:17 +00:00
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-six
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-six %{_description}
|
2011-07-21 17:56:10 +00:00
|
|
|
|
2017-08-15 12:33:48 +00:00
|
|
|
|
2011-07-21 17:56:10 +00:00
|
|
|
%prep
|
2021-03-15 16:01:17 +00:00
|
|
|
%autosetup -p1 -n six-%{version}
|
2011-07-21 17:56:10 +00:00
|
|
|
|
2017-08-15 12:33:48 +00:00
|
|
|
|
2021-05-10 17:45:03 +00:00
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires -r
|
|
|
|
|
|
|
|
|
2011-07-21 17:56:10 +00:00
|
|
|
%build
|
2021-05-10 17:45:03 +00:00
|
|
|
%pyproject_wheel
|
2017-08-15 12:33:48 +00:00
|
|
|
|
2011-07-21 17:56:10 +00:00
|
|
|
|
|
|
|
%install
|
2021-05-10 17:45:03 +00:00
|
|
|
%pyproject_install
|
|
|
|
%pyproject_save_files six
|
|
|
|
|
2019-08-26 11:15:05 +00:00
|
|
|
|
2017-08-15 12:33:48 +00:00
|
|
|
%if %{with tests}
|
2012-08-29 15:55:31 +00:00
|
|
|
%check
|
2021-05-10 17:45:03 +00:00
|
|
|
%pytest
|
2017-08-15 12:33:48 +00:00
|
|
|
%endif
|
2011-07-21 17:56:10 +00:00
|
|
|
|
2017-08-15 12:33:48 +00:00
|
|
|
|
2021-05-10 17:45:03 +00:00
|
|
|
%files -n python%{python3_pkgversion}-six -f %{pyproject_files}
|
2014-08-04 02:27:48 +00:00
|
|
|
%license LICENSE
|
2017-09-19 09:57:25 +00:00
|
|
|
%doc README.rst documentation/index.rst
|
2017-08-15 12:33:48 +00:00
|
|
|
|
2011-07-21 17:56:10 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-07-21 14:05:29 +00:00
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-06-16 06:19:38 +00:00
|
|
|
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 1.16.0-11
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
2023-06-13 18:53:07 +00:00
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.16.0-10
|
|
|
|
- Bootstrap for Python 3.12
|
|
|
|
|
2023-01-20 17:20:02 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-22 22:21:38 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 15:16:13 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.16.0-7
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-06-13 12:46:05 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.16.0-6
|
|
|
|
- Bootstrap for Python 3.11
|
|
|
|
|
2022-01-21 15:32:28 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 09:30:55 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-03 11:50:25 +00:00
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.16.0-3
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-06-02 08:19:20 +00:00
|
|
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.16.0-2
|
|
|
|
- Bootstrap for Python 3.10
|
|
|
|
|
2021-05-10 17:39:51 +00:00
|
|
|
* Mon May 10 2021 Miro Hrončok <mhroncok@redhat.com> - 1.16.0-1
|
|
|
|
- Update to 1.16.0
|
|
|
|
- Fixes: rhbz#1957289
|
|
|
|
|
2021-03-15 15:57:01 +00:00
|
|
|
* Mon Mar 15 2021 Miro Hrončok <mhroncok@redhat.com> - 1.15.0-5
|
|
|
|
- Remove python2-six
|
|
|
|
|
2021-01-27 13:25:35 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-14 13:12:34 +00:00
|
|
|
* Mon Dec 14 2020 Lumír Balhar <lbalhar@redhat.com> - 1.15.0-3
|
|
|
|
- Fix compatibility with Python 3.10
|
|
|
|
|
2020-07-29 03:54:44 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-01 14:02:19 +00:00
|
|
|
* Mon Jun 01 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.15.0-1
|
|
|
|
- Update to 1.15.0 (#1838702)
|
|
|
|
|
2020-05-23 07:25:38 +00:00
|
|
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.14.0-4
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-22 01:30:40 +00:00
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.14.0-3
|
|
|
|
- Bootstrap for Python 3.9
|
|
|
|
|
2020-01-30 15:19:55 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-17 17:41:46 +00:00
|
|
|
* Fri Jan 17 2020 Miro Hrončok <mhroncok@redhat.com> - 1.14.0-1
|
|
|
|
- Update to 1.14.0 (#1768982) for Python 3.9 support (#1788494)
|
|
|
|
- Drop old obsoletes for platform-python-six
|
|
|
|
|
2019-10-03 12:30:36 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.0-7
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-26 11:15:05 +00:00
|
|
|
* Mon Aug 26 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.0-6
|
|
|
|
- Reduce Python 2 build dependencies
|
|
|
|
|
2019-08-16 14:40:32 +00:00
|
|
|
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.0-5
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-08-14 23:42:05 +00:00
|
|
|
* Wed Aug 14 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.0-4
|
2019-08-14 21:23:30 +00:00
|
|
|
- Bootstrap for Python 3.8
|
|
|
|
|
2019-07-26 16:18:54 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-13 11:03:51 +00:00
|
|
|
* Wed Feb 13 2019 Yatin Karel <ykarel@redhat.com> - 1.12.0-1
|
|
|
|
- Update to 1.12.0
|
|
|
|
|
2019-02-02 09:21:08 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 02:06:21 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-16 00:25:40 +00:00
|
|
|
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1.11.0-5
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-06-13 21:46:20 +00:00
|
|
|
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1.11.0-4
|
|
|
|
- Bootstrap for Python 3.7
|
|
|
|
|
2018-02-09 10:53:08 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-15 15:15:05 +00:00
|
|
|
* Wed Nov 15 2017 Lumír Balhar <lbalhar@redhat.com> - 1.11.0-2
|
|
|
|
- Removed and obsoleted the platform-python subpackage
|
|
|
|
|
2017-09-19 09:57:25 +00:00
|
|
|
* Tue Sep 19 2017 Charalampos Stratakis <cstratak@redhat.com> - 1.11.0-1
|
|
|
|
- Update to 1.11.0
|
|
|
|
|
2017-08-15 12:33:48 +00:00
|
|
|
* Thu Aug 10 2017 Tomas Orsava <torsava@redhat.com> - 1.10.0-11
|
|
|
|
- Added the platform-python subpackage
|
|
|
|
|
2017-07-27 11:51:07 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-03 11:56:36 +00:00
|
|
|
* Mon Jul 03 2017 Petr Viktorin <pviktori@redhat.com> - 1.10.0-9
|
|
|
|
- Fix unversioned Python BuildRequires
|
|
|
|
|
2017-02-15 12:31:07 +00:00
|
|
|
* Mon Feb 13 2017 Charalampos Stratakis <cstratak@redhat.com> - 1.10.0-8
|
|
|
|
- Rebuild as wheel
|
|
|
|
|
2017-02-11 10:30:18 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-13 20:07:38 +00:00
|
|
|
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.10.0-6
|
|
|
|
- Enable tests
|
|
|
|
|
2016-12-11 01:46:08 +00:00
|
|
|
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.10.0-5
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
- Disable python3 tests
|
|
|
|
|
2016-08-09 11:56:30 +00:00
|
|
|
* Tue Aug 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 1.10.0-4
|
|
|
|
- Modernize spec more
|
|
|
|
- Depend on system-python(abi)
|
|
|
|
- Cleanups
|
|
|
|
|
2016-07-19 11:42:30 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-3
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-03 22:13:17 +00:00
|
|
|
* Wed Feb 3 2016 Orion Poplawski <orion@cora.nwra.com> - 1.10.0-2
|
|
|
|
- Modernize spec
|
|
|
|
- Fix python3 package file ownership
|
|
|
|
|
2015-11-13 09:19:24 +00:00
|
|
|
* Fri Nov 13 2015 Slavek Kabrda <bkabrda@redhat.com> - 1.10.0-1
|
|
|
|
- Update to 1.10.0
|
|
|
|
|
2015-10-13 12:47:00 +00:00
|
|
|
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.9.0-4
|
|
|
|
- Rebuilt for Python3.5 rebuild
|
|
|
|
|
2015-07-13 11:13:11 +00:00
|
|
|
* Mon Jul 13 2015 Slavek Kabrda <bkabrda@redhat.com> - 1.9.0-3
|
|
|
|
- Added python2-six provide to python-six
|
|
|
|
|
2015-06-18 20:50:16 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-02-23 22:36:21 +00:00
|
|
|
* Mon Feb 23 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 1.9.0-1
|
|
|
|
- Upstream 1.9.0
|
|
|
|
- Packaging cleanups
|
|
|
|
|
2014-11-14 11:45:49 +00:00
|
|
|
* Fri Nov 14 2014 Slavek Kabrda <bkabrda@redhat.com> - 1.8.0-1
|
|
|
|
- upgrade to 1.8.0 (rhbz#1105861)
|
|
|
|
|
2014-08-04 02:27:48 +00:00
|
|
|
* Sun Aug 3 2014 Tom Callaway <spot@fedoraproject.org> - 1.7.3-2
|
|
|
|
- fix license handling
|
|
|
|
|
2014-07-31 12:39:53 +00:00
|
|
|
* Thu Jul 31 2014 Pádraig Brady <pbrady@redhat.com> - 1.7.3-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2014-06-07 23:08:56 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-08 21:25:37 +00:00
|
|
|
* Thu May 08 2014 Orion Poplawski <orion@cora.nwra.com> - 1.6.1-2
|
|
|
|
- Rebuild for Python 3.4
|
|
|
|
|
2014-04-29 11:07:20 +00:00
|
|
|
* Tue Apr 29 2014 Matthias Runge <mrugne@redhat.com> - 1.6.1-1
|
|
|
|
- upgrade to 1.6.1 (rhbz#1076578)
|
|
|
|
|
2014-03-07 09:35:01 +00:00
|
|
|
* Fri Mar 07 2014 Matthias Runge <mrunge@redhat.com> - 1.5.2-1
|
|
|
|
- upgrade to 1.5.2 (rhbz#1048819)
|
|
|
|
|
2013-09-16 10:26:57 +00:00
|
|
|
* Mon Sep 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.4.1-1
|
|
|
|
- 1.4.1
|
|
|
|
|
2013-08-04 09:49:24 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-21 05:09:44 +00:00
|
|
|
* Thu Mar 21 2013 David Malcolm <dmalcolm@redhat.com> - 1.3.0-1
|
|
|
|
- 1.3.0
|
|
|
|
|
2013-02-14 20:24:33 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-29 15:55:31 +00:00
|
|
|
* Wed Aug 29 2012 David Malcolm <dmalcolm@redhat.com> - 1.2.0-1
|
|
|
|
- 1.2.0 (rhbz#852658)
|
|
|
|
- add %%check section
|
|
|
|
|
2012-08-04 05:29:10 +00:00
|
|
|
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.0-4
|
|
|
|
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
|
|
2012-07-21 09:16:39 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-25 16:14:54 +00:00
|
|
|
* Fri Jun 22 2012 Ralph Bean <rbean@redhat.com> - 1.1.0-2
|
|
|
|
- Conditionalized python3-six, allowing an el6 build.
|
|
|
|
|
2012-02-07 13:19:51 +00:00
|
|
|
* Tue Feb 7 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.0-1
|
|
|
|
- 1.1.0
|
|
|
|
|
2012-01-14 02:08:24 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-21 17:56:10 +00:00
|
|
|
* Thu Mar 24 2011 David Malcolm <dmalcolm@redhat.com> - 1.0.0-1
|
|
|
|
- initial packaging
|
|
|
|
|
|
|
|
|