forked from pool/python-soupsieve
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=16
This commit is contained in:
parent
b0379f14bd
commit
756b3e9b66
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,6 +25,7 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%bcond_without python2
|
||||
Name: python-soupsieve%{psuffix}
|
||||
Version: 1.9.5
|
||||
Release: 0
|
||||
@ -40,8 +41,10 @@ BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module beautifulsoup4}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%if %{with python2}
|
||||
BuildRequires: python-backports.functools_lru_cache
|
||||
%endif
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-backports.functools_lru_cache
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user