Hello community, here is the log from the commit of package python-soupsieve for openSUSE:Factory checked in at 2020-03-27 00:27:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-soupsieve (Old) and /work/SRC/openSUSE:Factory/.python-soupsieve.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-soupsieve" Fri Mar 27 00:27:02 2020 rev:8 rq:786320 version:1.9.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-soupsieve/python-soupsieve.changes 2020-01-01 14:58:23.661934111 +0100 +++ /work/SRC/openSUSE:Factory/.python-soupsieve.new.3160/python-soupsieve.changes 2020-03-27 00:27:03.368310256 +0100 @@ -1,0 +2,5 @@ +Fri Mar 13 13:02:59 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-soupsieve.spec ++++++ --- /var/tmp/diff_new_pack.zDrchH/_old 2020-03-27 00:27:04.188310672 +0100 +++ /var/tmp/diff_new_pack.zDrchH/_new 2020-03-27 00:27:04.192310673 +0100 @@ -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 @@ %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