diff --git python-actdiag/python-actdiag.spec python-actdiag/python-actdiag.spec.tmp index f3cd044d06..c4202d23a9 100644 --- python-actdiag/python-actdiag.spec +++ python-actdiag/python-actdiag.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{srcname} Version: 0.5.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: actdiag generates activity-diagram images from text License: ASL 2.0 @@ -36,12 +36,19 @@ BuildRequires: python3-pillow BuildRequires: python3-reportlab BuildRequires: python3-setuptools -Requires: python-blockdiag +%global _description\ +%(cat %{SOURCE1})\ -%description -%(cat %{SOURCE1}) +%description %_description + +%package -n python2-%{srcname} +Summary: %summary +Requires: python-blockdiag +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} %_description %package -n python3-%{srcname} Summary: %{summary} @@ -92,7 +99,7 @@ pushd %{py3dir} popd -%files +%files -n python2-%{srcname} %doc LICENSE %{_bindir}/%{srcname} %{_mandir}/man1/%{srcname}.1* @@ -110,6 +117,10 @@ popd %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.5.4-6 +- Python 2 binary package renamed to python2-actdiag + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild