%{?python_enable_dependency_generator} %global srcname justbases Name: python-%{srcname} Version: 0.9 Release: 9%{?dist} Summary: A small library for precise conversion between arbitrary bases License: GPLv2+ 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 python%{python3_pkgversion}-%{srcname} Summary: A small library for precise conversion between arbitrary bases %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %description -n python%{python3_pkgversion}-%{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 python%{python3_pkgversion}-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/justbases/ %{python3_sitelib}/justbases-%{version}-*.egg-info %changelog * 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