diff --git a/python-cssselect.spec b/python-cssselect.spec index 8f8d473..4baeb50 100644 --- a/python-cssselect.spec +++ b/python-cssselect.spec @@ -4,7 +4,7 @@ Name: python-cssselect Version: 0.9.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Parses CSS3 Selectors and translates them to XPath 1.0 License: BSD @@ -20,19 +20,6 @@ matching elements in an XML or HTML document. %description %{_description} -%package -n python2-%{modname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{modname}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools -%if %{with tests} -BuildRequires: python2-lxml -%endif - -%description -n python2-%{modname} %{_description} - -Python 2 version. - %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} @@ -51,25 +38,16 @@ Python 3 version. mv %{modname}/tests.py . %build -%py2_build %py3_build %install -%py2_install %py3_install %if %{with tests} %check -%{__python2} tests.py -v %{__python3} tests.py -v %endif -%files -n python2-%{modname} -%license LICENSE -%doc README.rst CHANGES AUTHORS -%{python2_sitelib}/%{modname}-*.egg-info/ -%{python2_sitelib}/%{modname}/ - %files -n python3-%{modname} %license LICENSE %doc README.rst CHANGES AUTHORS @@ -77,6 +55,10 @@ mv %{modname}/tests.py . %{python3_sitelib}/%{modname}/ %changelog +* Mon Sep 09 2019 Miro Hrončok - 0.9.2-13 +- Subpackage python2-cssselect has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Aug 17 2019 Miro Hrončok - 0.9.2-12 - Rebuilt for Python 3.8