%global srcname justbytes Name: python-%{srcname} Version: 0.11 Release: 5%{?dist} Summary: Library for handling computation with address ranges in bytes License: GPLv2+ URL: http://pypi.python.org/pypi/justbytes Source0: https://pypi.io/packages/source/%(n=%{srcname}; echo ${n:0:1})/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch %global _description \ A library for handling computations with address ranges. The library also offers\ a configurable way to extract the representation of a value. %description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-hypothesis BuildRequires: python%{python3_pkgversion}-justbases BuildRequires: python%{python3_pkgversion}-six Requires: python%{python3_pkgversion}-justbases Requires: python%{python3_pkgversion}-six %description -n python%{python3_pkgversion}-%{srcname} %{_description} Python 3 version. %prep %autosetup -n %{srcname}-%{version} rm -rf justbytes.egg-info %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/justbytes/ %{python3_sitelib}/justbytes-%{version}-*.egg-info/ %changelog * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 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 - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.11-3 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.11-1 - Update to 0.11 * Thu Jul 27 2017 Fedora Release Engineering - 0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.10-2 - Rebuild for Python 3.6 * Wed Aug 10 2016 mulhern - 0.10 - New release * Tue Jul 19 2016 Fedora Release Engineering - 0.7-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Mar 23 2016 mulhern - 0.6 - Initial release