diff --git python-junitxml/python-junitxml.spec python-junitxml/python-junitxml.spec.tmp index 13fa50fabb..d1c4119053 100644 --- python-junitxml/python-junitxml.spec +++ python-junitxml/python-junitxml.spec.tmp @@ -13,7 +13,7 @@ Name: python-%{pypi_name} Version: 0.7 -Release: 11%{?dist} +Release: 12%{?dist} Summary: PyJUnitXML, a pyunit extension to output JUnit compatible XML License: LGPLv3 @@ -24,12 +24,20 @@ BuildArch: noarch BuildRequires: python-devel -%description -PyJUnitXML -========== -A Python unittest TestResult that outputs JUnit +%global _description\ +PyJUnitXML\ +==========\ +A Python unittest TestResult that outputs JUnit\ compatible XML. +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: PyJUnitXML, a pyunit extension to output JUnit compatible XML @@ -72,7 +80,7 @@ mv %{buildroot}%{_bindir}/pyjunitxml %{buildroot}%{_bindir}/pyjunitxml-%{python2 ln -s ./pyjunitxml-%{python2_version} %{buildroot}%{_bindir}/pyjunitxml-2 ln -s ./pyjunitxml-2 %{buildroot}%{_bindir}/pyjunitxml -%files +%files -n python2-%{pypi_name} %doc COPYING %{_bindir}/pyjunitxml %{_bindir}/pyjunitxml-2 @@ -89,6 +97,10 @@ ln -s ./pyjunitxml-2 %{buildroot}%{_bindir}/pyjunitxml %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.7-12 +- Python 2 binary package renamed to python2-junitxml + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild