diff --git python-seqdiag/python-seqdiag.spec python-seqdiag/python-seqdiag.spec.tmp index a736be7471..2597d7ca92 100644 --- python-seqdiag/python-seqdiag.spec +++ python-seqdiag/python-seqdiag.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{srcname} Version: 0.9.5 -Release: 9%{?dist} +Release: 10%{?dist} Summary: seqdiag generates sequence-diagram images from text License: ASL 2.0 @@ -25,13 +25,20 @@ BuildRequires: python-pillow BuildRequires: python-reportlab BuildRequires: python-setuptools -Requires: python-blockdiag -Requires: python-reportlab +%global _description\ +%(cat %{SOURCE1})\ -%description -%(cat %{SOURCE1}) +%description %_description + +%package -n python2-%{srcname} +Summary: %summary +Requires: python-blockdiag +Requires: python-reportlab +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} %_description %if 0%{?with_python3} %package -n python3-%{srcname} @@ -107,7 +114,7 @@ popd %endif -%files +%files -n python2-%{srcname} %doc LICENSE %{_bindir}/%{srcname} %{_mandir}/man1/%{srcname}.1* @@ -126,6 +133,10 @@ popd %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.9.5-10 +- Python 2 binary package renamed to python2-seqdiag + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.9.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild