diff --git python-gccinvocation/python-gccinvocation.spec python-gccinvocation/python-gccinvocation.spec.tmp index fe0c9f82fa..1adb37921e 100644 --- python-gccinvocation/python-gccinvocation.spec +++ python-gccinvocation/python-gccinvocation.spec.tmp @@ -6,7 +6,7 @@ Name: python-gccinvocation Version: 0.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Library for parsing GCC command-line options License: LGPLv2+ @@ -20,10 +20,18 @@ BuildRequires: python3-devel # ^^^: used during selftests %endif -%description -"gccinvocation" is a python module that can parse gcc command lines and +%global _description\ +"gccinvocation" is a python module that can parse gcc command lines and\ extract data of interest e.g. include paths, defines, etc. +%description %_description + +%package -n python2-gccinvocation +Summary: %summary +%{?python_provide:%python_provide python2-gccinvocation} + +%description -n python2-gccinvocation %_description + %if 0%{?with_python3} %package -n python3-gccinvocation Summary: Library for parsing GCC command-line options @@ -71,7 +79,7 @@ popd %endif # with_python3 -%files +%files -n python2-gccinvocation %doc README.rst lgpl-2.1.txt %{python_sitelib}/gccinvocation-%{version}-py2.?.egg-info %{python_sitelib}/gccinvocation.py @@ -87,6 +95,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1-13 +- Python 2 binary package renamed to python2-gccinvocation + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild