1
0
Tomáš Chvátal 2020-03-13 13:03:13 +00:00 committed by Git OBS Bridge
parent b0379f14bd
commit 756b3e9b66
2 changed files with 9 additions and 1 deletions

View File

@ -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>

View File

@ -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