|
|
@ -1,10 +1,18 @@
|
|
|
|
%global srcname justbases
|
|
|
|
%global srcname justbases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} > 7
|
|
|
|
|
|
|
|
# Disable python2 build by default
|
|
|
|
|
|
|
|
%bcond_with python2
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_without python2
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Version: 0.15.2
|
|
|
|
Version: 0.14
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: A small library for precise conversion between arbitrary bases
|
|
|
|
Summary: A small library for precise conversion between arbitrary bases
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://pypi.python.org/pypi/justbases
|
|
|
|
URL: http://pypi.python.org/pypi/justbases
|
|
|
|
Source0: https://pypi.io/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
|
Source0: https://pypi.io/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
@ -14,6 +22,22 @@ BuildArch: noarch
|
|
|
|
A small library for precise conversion between arbitrary bases and native
|
|
|
|
A small library for precise conversion between arbitrary bases and native
|
|
|
|
Python numbers.
|
|
|
|
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}
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
Summary: A small library for precise conversion between arbitrary bases
|
|
|
|
Summary: A small library for precise conversion between arbitrary bases
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
@ -21,6 +45,8 @@ Summary: A small library for precise conversion between arbitrary bases
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{srcname}
|
|
|
|
%description -n python3-%{srcname}
|
|
|
|
A small library for precise conversion between arbitrary bases and native
|
|
|
|
A small library for precise conversion between arbitrary bases and native
|
|
|
|
Python numbers.
|
|
|
|
Python numbers.
|
|
|
@ -30,11 +56,25 @@ Python numbers.
|
|
|
|
rm -rf justbases.egg-info
|
|
|
|
rm -rf justbases.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
|
|
|
%py2_build
|
|
|
|
|
|
|
|
%endif # with python2
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
|
|
|
%py2_install
|
|
|
|
|
|
|
|
%endif # with python2
|
|
|
|
%py3_install
|
|
|
|
%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}
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
@ -42,72 +82,12 @@ rm -rf justbases.egg-info
|
|
|
|
%{python3_sitelib}/justbases-%{version}-*.egg-info
|
|
|
|
%{python3_sitelib}/justbases-%{version}-*.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue May 16 2023 Bryan Gurney <bgurney@redhat.com> - 0.15.2-1
|
|
|
|
* Tue May 26 2020 Dennis Keefe <dkeefe@redhat.com> - 0.14-4
|
|
|
|
- Update to 0.15.2
|
|
|
|
- Update to 0.14
|
|
|
|
- Resolves: rhbz#2203858
|
|
|
|
- Resolves: rhbz#1824230
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.15-6
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 29 2021 Bryan Gurney <bgurney@redhat.com> - 0.15-5
|
|
|
|
|
|
|
|
- Remove check test
|
|
|
|
|
|
|
|
- Resolves: rhbz#1986912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.15-4
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 22 2021 mulhern <amulhern@redhat.com> - 0.15-2
|
|
|
|
|
|
|
|
- Use the correct tarball
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 15 2020 mulhern <amulhern@redhat.com> - 0.15-1
|
|
|
|
|
|
|
|
- Update to 0.15
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 23 2020 mulhern <amulhern@redhat.com> - 0.14-1
|
|
|
|
|
|
|
|
- Update to new release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 23 2020 mulhern <amulhern@redhat.com> - 0.13-2
|
|
|
|
|
|
|
|
- Remove license macro; upstream is not currently packaging its license file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 23 2020 mulhern <amulhern@redhat.com> - 0.13-1
|
|
|
|
|
|
|
|
- Change license to LGPLv2+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-14
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-13
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-12
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 02 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9-9
|
|
|
|
|
|
|
|
- Enable python dependency generator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 02 2019 Miro Hrončok <mhroncok@redhat.com> - 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 <releng@fedoraproject.org> - 0.9-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9-6
|
|
|
|
* Sun Jun 10 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.9-6
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
- Conditionalize the python2 subpackage
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|