diff --git a/.gitignore b/.gitignore index 76c56dc..14cf269 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/justbases-0.14.tar.gz +justbases-0.15.2.tar.gz diff --git a/.python-justbases.metadata b/.python-justbases.metadata deleted file mode 100644 index 956385e..0000000 --- a/.python-justbases.metadata +++ /dev/null @@ -1 +0,0 @@ -2c34f6586a5d8bb346d45a054d306f650eb94202 SOURCES/justbases-0.14.tar.gz diff --git a/SPECS/python-justbases.spec b/SPECS/python-justbases.spec deleted file mode 100644 index 74385c6..0000000 --- a/SPECS/python-justbases.spec +++ /dev/null @@ -1,111 +0,0 @@ -%global srcname justbases - -%if 0%{?rhel} > 7 -# Disable python2 build by default -%bcond_with python2 -%else -%bcond_without python2 -%endif - -Name: python-%{srcname} -Version: 0.14 -Release: 4%{?dist} -Summary: A small library for precise conversion between arbitrary bases - -License: LGPLv2+ -URL: http://pypi.python.org/pypi/justbases -Source0: https://pypi.io/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz - -BuildArch: noarch - -%description -A small library for precise conversion between arbitrary bases and native -Python numbers. - -%if %{with python2} -%package -n python2-%{srcname} -Summary: A small library for precise conversion between arbitrary bases -%{?python_provide:%python_provide python2-%{srcname}} - -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -Requires: python2-six - -%description -n python2-%{srcname} -A small library for precise conversion between arbitrary bases and native -Python numbers. -%endif # with python2 - - -%package -n python3-%{srcname} -Summary: A small library for precise conversion between arbitrary bases -%{?python_provide:%python_provide python3-%{srcname}} - -BuildRequires: python3-devel -BuildRequires: python3-setuptools - -Requires: python3-six - -%description -n python3-%{srcname} -A small library for precise conversion between arbitrary bases and native -Python numbers. - -%prep -%autosetup -n %{srcname}-%{version} -rm -rf justbases.egg-info - -%build -%if %{with python2} -%py2_build -%endif # with python2 -%py3_build - -%install -%if %{with python2} -%py2_install -%endif # with python2 -%py3_install - -%if %{with python2} -%files -n python2-%{srcname} -%license LICENSE -%doc README.rst -%{python2_sitelib}/justbases/ -%{python2_sitelib}/justbases-%{version}-*.egg-info -%endif # with python2 - -%files -n python3-%{srcname} -%license LICENSE -%doc README.rst -%{python3_sitelib}/justbases/ -%{python3_sitelib}/justbases-%{version}-*.egg-info - -%changelog -* Tue May 26 2020 Dennis Keefe - 0.14-4 -- Update to 0.14 -- Resolves: rhbz#1824230 - -* Sun Jun 10 2018 Charalampos Stratakis - 0.9-6 -- Conditionalize the python2 subpackage - -* Fri Feb 09 2018 Fedora Release Engineering - 0.9-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.9-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 0.9-2 -- Rebuild for Python 3.6 - -* Tue Aug 2 2016 mulhern - 0.9 -- New release - -* Tue Jul 19 2016 Fedora Release Engineering - 0.6-2 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Mar 16 2016 mulhern - 0.6 -- Initial release diff --git a/python-justbases.spec b/python-justbases.spec new file mode 100644 index 0000000..d8426da --- /dev/null +++ b/python-justbases.spec @@ -0,0 +1,166 @@ +%{?python_enable_dependency_generator} +%global srcname justbases +Name: python-%{srcname} +Version: 0.15.2 +Release: 9%{?dist} +Summary: A small library for precise conversion between arbitrary bases + +License: LGPL-2.1-or-later +URL: http://pypi.python.org/pypi/justbases +Source0: https://pypi.io/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%description +A small library for precise conversion between arbitrary bases and native +Python numbers. + +%package -n python3-%{srcname} +Summary: A small library for precise conversion between arbitrary bases +%{?python_provide:%python_provide python3-%{srcname}} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description -n python3-%{srcname} +A small library for precise conversion between arbitrary bases and native +Python numbers. + +%prep +%autosetup -n %{srcname}-%{version} +rm -rf justbases.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%license LICENSE +%doc README.rst +%{python3_sitelib}/justbases/ +%{python3_sitelib}/justbases-%{version}-*.egg-info + +%changelog +* Tue Oct 29 2024 Troy Dawson - 0.15.2-9 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Mon Jun 24 2024 Troy Dawson - 0.15.2-8 +- Bump release for June 2024 mass rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.15.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.15.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.15.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.15.2-4 +- Rebuilt for Python 3.12 + +* Mon May 15 2023 mulhern - 0.15.2-3 +- Fix package name + +* Mon May 15 2023 mulhern - 0.15.2-2 +- Update tag for tests + +* Sun May 14 2023 mulhern - 0.15.2-1 +- Update to 0.15.2; use SPDX license + +* Fri Jan 20 2023 Fedora Release Engineering - 0.15-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.15-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.15-8 +- Rebuilt for Python 3.11 + +* Sun Feb 27 2022 mulhern - 0.15-7 +- Add gating tests + +* Fri Jan 21 2022 Fedora Release Engineering - 0.15-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.15-4 +- Rebuilt for Python 3.10 + +* Mon Mar 22 2021 mulhern - 0.15-2 +- Use the correct tarball + +* Wed Jan 27 2021 Fedora Release Engineering - 0.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Dec 15 2020 mulhern - 0.15-1 +- Update to 0.15 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.14-2 +- Rebuilt for Python 3.9 + +* Thu Apr 23 2020 mulhern - 0.14-1 +- Update to new release + +* Thu Apr 23 2020 mulhern - 0.13-2 +- Remove license macro; upstream is not currently packaging its license file + +* Thu Apr 23 2020 mulhern - 0.13-1 +- Change license to LGPLv2+ + +* Thu Jan 30 2020 Fedora Release Engineering - 0.9-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.9-13 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.9-12 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.9-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.9-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jan 02 2019 Igor Gnatenko - 0.9-9 +- Enable python dependency generator + +* Wed Jan 02 2019 Miro Hrončok - 0.9-8 +- Subpackage python2-justbases has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Jul 14 2018 Fedora Release Engineering - 0.9-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.9-6 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.9-2 +- Rebuild for Python 3.6 + +* Tue Aug 2 2016 mulhern - 0.9 +- New release + +* Tue Jul 19 2016 Fedora Release Engineering - 0.6-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Mar 16 2016 mulhern - 0.6 +- Initial release diff --git a/sources b/sources new file mode 100644 index 0000000..bb79133 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (justbases-0.15.2.tar.gz) = c9cb67b67f7ec84b4436df2b24ff8df354a15fd7f65212c4ffa6506e077fc9dd526a5a9c4cf9153fce016ff4cc59d94ad5ce9713bd7ca0169a6fd0c725e373db