diff --git a/python-justbytes.spec b/python-justbytes.spec index 123eb31..29f6e31 100644 --- a/python-justbytes.spec +++ b/python-justbytes.spec @@ -1,43 +1,39 @@ %global srcname justbytes -Name: python-%{srcname} -Version: 0.10 -Release: 4%{?dist} -Summary: A library for handling computation with address ranges in bytes -License: GPLv2 -URL: http://pypi.python.org/pypi/%{srcname} -Source0: https://pypi.io/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz +Name: python-%{srcname} +Version: 0.11 +Release: 1%{?dist} +Summary: Library for handling computation with address ranges in bytes -BuildArch: noarch +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 %description A library for handling computations with address ranges. The library also offers a configurable way to extract the representation of a value. %package -n python2-%{srcname} -Summary: A library for handling computation with address ranges in bytes +Summary: %{summary} %{?python_provide:%python_provide python2-%{srcname}} - BuildRequires: python2-devel BuildRequires: python2-setuptools - -Requires: python2-justbases -Requires: python2-six +Requires: python2-justbases +Requires: python2-six %description -n python2-%{srcname} A library for handling computations with address ranges. The library also offers a configurable way to extract the representation of a value. - %package -n python3-%{srcname} -Summary: A module for handling computation with address ranges in bytes +Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} - BuildRequires: python3-devel BuildRequires: python3-setuptools - -Requires: python3-justbases -Requires: python3-six +Requires: python3-justbases +Requires: python3-six %description -n python3-%{srcname} A library for handling computations with address ranges. The library also offers @@ -59,15 +55,18 @@ rm -rf justbytes.egg-info %license LICENSE %doc README.rst %{python2_sitelib}/justbytes/ -%{python2_sitelib}/justbytes-%{version}-*.egg-info +%{python2_sitelib}/justbytes-%{version}-*.egg-info/ %files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/justbytes/ -%{python3_sitelib}/justbytes-%{version}-*.egg-info +%{python3_sitelib}/justbytes-%{version}-*.egg-info/ %changelog +* 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