From bcd33fcdef7793a7f4c6bf8f67c328d72ce54237 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Oct 17 2018 21:13:08 +0000 Subject: Subpackage python2-gccinvocation has been removed --- diff --git a/python-gccinvocation.spec b/python-gccinvocation.spec index b37cf16..964f471 100644 --- a/python-gccinvocation.spec +++ b/python-gccinvocation.spec @@ -1,12 +1,11 @@ %if 0%{?fedora} -%global with_python3 1 %else %global with_python3 0 %endif Name: python-gccinvocation Version: 0.1 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Library for parsing GCC command-line options License: LGPLv2+ @@ -14,11 +13,8 @@ URL: https://github.com/fedora-static-analysis/gccinvocation Source0: https://pypi.python.org/packages/source/g/gccinvocation/gccinvocation-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -%if 0%{?with_python3} BuildRequires: python3-devel # ^^^: used during selftests -%endif %global _description\ "gccinvocation" is a python module that can parse gcc command lines and\ @@ -26,13 +22,6 @@ 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 Group: Applications/System @@ -40,61 +29,39 @@ Group: Applications/System %description -n python3-gccinvocation "gccinvocation" is a python module that can parse gcc command lines and extract data of interest e.g. include paths, defines, etc. -%endif # with_python3 %prep %setup -q -n gccinvocation-%{version} -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -%endif # with_python3 %build -%{__python2} setup.py build -%if 0%{?with_python3} -pushd %{py3dir} %{__python3} setup.py build -popd -%endif # with_python3 %install -%{__python2} setup.py install --skip-build --root %{buildroot} -%if 0%{?with_python3} -pushd %{py3dir} %{__python3} setup.py install --skip-build --root %{buildroot} -popd -%endif # with_python3 %check -%{__python2} gccinvocation.py -v -%if 0%{?with_python3} %{__python3} gccinvocation.py -v -%endif # with_python3 -%files -n python2-gccinvocation -%doc README.rst lgpl-2.1.txt -%{python2_sitelib}/gccinvocation-%{version}-py2.?.egg-info -%{python2_sitelib}/gccinvocation.py -%{python2_sitelib}/gccinvocation.py[co] - %files -n python3-gccinvocation -%if 0%{?with_python3} %doc README.rst lgpl-2.1.txt %{python3_sitelib}/gccinvocation-%{version}-py3.?.egg-info %{python3_sitelib}/gccinvocation.py %{python3_sitelib}/__pycache__/gccinvocation.cpython-*.py[co] -%endif # with_python3 %changelog +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.1-18 +- Subpackage python2-gccinvocation has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Jul 20 2018 David Malcolm - 0.1-17 - Use explicit "python2" versions of specfile macros (rhbz #1605703)