diff --git python-svg/python-svg.spec python-svg/python-svg.spec.tmp index 7ccb6dec34..d836e7a06c 100644 --- python-svg/python-svg.spec +++ python-svg/python-svg.spec.tmp @@ -1,6 +1,6 @@ Name: python-svg Version: 0.2.2b -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python wrapper for svg Group: Development/Libraries @@ -13,10 +13,18 @@ BuildArch: noarch BuildRequires: python2-devel,python-setuptools BuildRequires: python3-devel,python3-setuptools -%description -pySVG is a pure Python library to create/load and manipulate SVG documents. +%global _description\ +pySVG is a pure Python library to create/load and manipulate SVG documents.\ +\ +It's main use is to "code" svg images. -It's main use is to "code" svg images. +%description %_description + +%package -n python2-svg +Summary: %summary +%{?python_provide:%python_provide python2-svg} + +%description -n python2-svg %_description %package doc Summary: Documentation for python-syg @@ -82,7 +90,7 @@ find $RPM_BUILD_ROOT -name '*.egg-info' | xargs rm -rf %{__python2} setup.py test %{__python3} setup.py test -%files +%files -n python2-svg %doc doc/license.txt %{python2_sitelib}/pysvg @@ -95,6 +103,10 @@ find $RPM_BUILD_ROOT -name '*.egg-info' | xargs rm -rf %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.2b-13 +- Python 2 binary package renamed to python2-svg + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.2b-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild