diff --git python-nwdiag/python-nwdiag.spec python-nwdiag/python-nwdiag.spec.tmp index 04cfd6f40e..e75de964af 100644 --- python-nwdiag/python-nwdiag.spec +++ python-nwdiag/python-nwdiag.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{srcname} Version: 1.0.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: nwdiag generates network-diagram images from text License: ASL 2.0 @@ -33,12 +33,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} @@ -98,7 +105,7 @@ pushd %{py3dir} popd -%files +%files -n python2-%{srcname} %doc LICENSE %{_bindir}/*diag %{_mandir}/man1/*diag.1* @@ -116,6 +123,10 @@ popd %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.0.4-6 +- Python 2 binary package renamed to python2-nwdiag + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild