forked from pool/python-soupsieve
Accepting request 786320 from devel:languages:python
The 2.0 breaks beautifulsoup itself... - Fix build without python2 OBS-URL: https://build.opensuse.org/request/show/786320 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=8
This commit is contained in:
commit
58b0269506
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 13 13:02:59 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 20 18:49:34 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
Fri Dec 20 18:49:34 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-soupsieve
|
# spec file for package python-soupsieve
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,6 +25,7 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%bcond_without python2
|
||||||
Name: python-soupsieve%{psuffix}
|
Name: python-soupsieve%{psuffix}
|
||||||
Version: 1.9.5
|
Version: 1.9.5
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -40,8 +41,10 @@ BuildArch: noarch
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module beautifulsoup4}
|
BuildRequires: %{python_module beautifulsoup4}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
%if %{with python2}
|
||||||
BuildRequires: python-backports.functools_lru_cache
|
BuildRequires: python-backports.functools_lru_cache
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-backports.functools_lru_cache
|
Requires: python-backports.functools_lru_cache
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user