diff --git python-fontname/python-fontname.spec python-fontname/python-fontname.spec.tmp index d7dd2ffb3e..a10193fa66 100644 --- python-fontname/python-fontname.spec +++ python-fontname/python-fontname.spec.tmp @@ -2,7 +2,7 @@ Name: python-fontname Version: 0.2.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A lib for guessing font name License: MIT @@ -14,12 +14,20 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-freetype -%description -fontname is a lib for guessing font name, in other words, reading and decoding -quirk encoded raw font name. - +%global _description\ +fontname is a lib for guessing font name, in other words, reading and decoding\ +quirk encoded raw font name.\ +\ It current supports SFNT format fonts, and is adept at dealing with CJK fonts. +%description %_description + +%package -n python2-%{srcname} +Summary: %summary +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} %_description + %package -n python3-%{srcname} Summary: A lib for guessing font name BuildRequires: python3-devel @@ -51,7 +59,7 @@ It current supports SFNT format fonts, and is adept at dealing with CJK fonts. %{__python2} setup.py test %{__python3} setup.py test -%files -n python-%{srcname} +%files -n python2-%{srcname} %doc PKG-INFO README.rst %license LICENSE.txt %{python2_sitelib}/%{srcname}.py* @@ -65,6 +73,10 @@ It current supports SFNT format fonts, and is adept at dealing with CJK fonts. %{python3_sitelib}/%{srcname}-%{version}-py3.*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.0-9 +- Python 2 binary package renamed to python2-fontname + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild