diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 9110bf0..548efe4 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -2,7 +2,7 @@ Name: python-soupsieve Version: 1.9.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: CSS selector library License: MIT @@ -38,19 +38,6 @@ simply do not match anything.} %description %_description -%package -n python2-soupsieve -Summary: %{summary} -BuildRequires: python2-devel -BuildRequires: python2-pytest -BuildRequires: python2dist(lxml) -BuildRequires: python2dist(html5lib) -BuildRequires: python2dist(beautifulsoup4) -BuildRequires: python2dist(backports.functools-lru-cache) -Requires: python2dist(backports.functools-lru-cache) -%{?python_provide:%python_provide python2-soupsieve} - -%description -n python2-soupsieve %_description - %package -n python3-soupsieve Summary: %{summary} %{?python_provide:%python_provide python3-soupsieve} @@ -61,27 +48,16 @@ Summary: %{summary} %autosetup -n soupsieve-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install %if %{with tests} %check -# We need to exclude one test which requires bs4 >= 4.7, because -# bs4 >= 4.7 also requires this package to build. -pytest-2 -v tests -k 'not test_namespace_xml_with_namespace' pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %endif -%files -n python2-soupsieve -%{python2_sitelib}/soupsieve/ -%{python2_sitelib}/soupsieve-%{version}-py%{python2_version}.egg-info/ -%doc README.md -%license LICENSE.md - %files -n python3-soupsieve %{python3_sitelib}/soupsieve/ %{python3_sitelib}/soupsieve-%{version}-py%{python3_version}.egg-info/ @@ -89,6 +65,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Tue Sep 03 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-3 +- Subpackage python2-soupsieve has been removed (#1748298) + * Mon Aug 19 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-2 - Rebuilt for Python 3.8