diff --git python-blockdiag/python-blockdiag.spec python-blockdiag/python-blockdiag.spec.tmp index f9c818e949..350e923119 100644 --- python-blockdiag/python-blockdiag.spec +++ python-blockdiag/python-blockdiag.spec.tmp @@ -5,7 +5,7 @@ Name: python-%{srcname} Version: 1.5.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Generate block-diagram images from text License: ASL 2.0 @@ -40,16 +40,23 @@ BuildRequires: python3-webcolors # upstream uses ipagp.ttf as its default font BuildRequires: ipa-pgothic-fonts + +%global _description\ +%(cat %{SOURCE1})\ + + +%description %_description + +%package -n python2-%{srcname} +Summary: %summary Requires: ipa-pgothic-fonts Requires: python-funcparserlib Requires: python-pillow Requires: python-setuptools Requires: python-webcolors +%{?python_provide:%python_provide python2-%{srcname}} - -%description -%(cat %{SOURCE1}) - +%description -n python2-%{srcname} %_description %package -n python3-%{srcname} Summary: %{summary} @@ -123,7 +130,7 @@ pushd %{py3dir} popd -%files +%files -n python2-%{srcname} %license LICENSE %{_bindir}/%{srcname} %{_mandir}/man1/%{srcname}.1* @@ -147,6 +154,10 @@ popd %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.5.3-8 +- Python 2 binary package renamed to python2-blockdiag + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.5.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild