Compare commits
No commits in common. "c9-beta" and "c8" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/justbytes-0.15.2.tar.gz
|
||||
SOURCES/justbytes-0.14.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
71db2685b7f3a19d71ef53a609f27d9b6a454be3 SOURCES/justbytes-0.15.2.tar.gz
|
||||
b006578ffc3878f48320e4bd02af0aff193b3a3b SOURCES/justbytes-0.14.tar.gz
|
||||
|
@ -1,13 +1,20 @@
|
||||
%global srcname justbytes
|
||||
|
||||
%if 0%{?rhel} > 7
|
||||
# Disable python2 build by default
|
||||
%bcond_with python2
|
||||
%else
|
||||
%bcond_without python2
|
||||
%endif
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.15.2
|
||||
Release: 1%{?dist}
|
||||
Version: 0.14
|
||||
Release: 2%{?dist}
|
||||
Summary: Library for handling computation with address ranges in bytes
|
||||
|
||||
License: LGPL-2.1-or-later
|
||||
License: LGPLv2+
|
||||
URL: http://pypi.python.org/pypi/justbytes
|
||||
Source0: https://pypi.io/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||
Source0: https://pypi.io/packages/source/%(n=%{srcname}; echo ${n:0:1})/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -17,12 +24,35 @@ a configurable way to extract the representation of a value.
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-%{srcname}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python2-%{srcname}}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-pytest
|
||||
BuildRequires: python2-hypothesis
|
||||
BuildRequires: python2-justbases
|
||||
BuildRequires: python2-six
|
||||
Requires: python2-justbases
|
||||
Requires: python2-six
|
||||
|
||||
%description -n python2-%{srcname} %{_description}
|
||||
|
||||
Python 2 version.
|
||||
%endif # with python2
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-hypothesis
|
||||
BuildRequires: python3-justbases
|
||||
BuildRequires: python3-six
|
||||
Requires: python3-justbases
|
||||
Requires: python3-six
|
||||
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
@ -33,11 +63,31 @@ Python 3 version.
|
||||
rm -rf justbytes.egg-info
|
||||
|
||||
%build
|
||||
%if %{with python2}
|
||||
%py2_build
|
||||
%endif # with python2
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%if %{with python2}
|
||||
%py2_install
|
||||
%endif # with python2
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%if %{with python2}
|
||||
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v tests
|
||||
%endif # with python2
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-%{srcname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/justbytes/
|
||||
%{python2_sitelib}/justbytes-%{version}-*.egg-info/
|
||||
%endif # with python2
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
@ -45,70 +95,12 @@ rm -rf justbytes.egg-info
|
||||
%{python3_sitelib}/justbytes-%{version}-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Tue May 16 2023 Bryan Gurney <bgurney@redhat.com> - 0.15.2-1
|
||||
- Update to 0.15.2
|
||||
- Resolves: rhbz#2204503
|
||||
|
||||
* 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
|
||||
- Remove BuildRequires and Requires for python3-justbases
|
||||
- Resolves: rhbz#1986913
|
||||
|
||||
* 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-3
|
||||
- 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
|
||||
|
||||
* Thu Dec 17 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.12-1
|
||||
- Change license to LGPLv2+
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11-9
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11-8
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11-5
|
||||
- Subpackage python2-justbytes 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.11-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.11-3
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
* Wed May 06 2020 Dennis Keefe <dkeefe@redhat.com> - 0.14-2
|
||||
- Update to 0.14
|
||||
- Resolves: rhbz#1824225
|
||||
|
||||
* Fri Jun 08 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.11-2
|
||||
- Conditionalize the python2 subpackage
|
||||
|
||||
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11-1
|
||||
- Update to 0.11
|
||||
|
Loading…
Reference in New Issue
Block a user