Hello community, here is the log from the commit of package python-Lektor for openSUSE:Leap:15.2 checked in at 2020-04-25 19:04:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-Lektor (Old) and /work/SRC/openSUSE:Leap:15.2/.python-Lektor.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Lektor" Sat Apr 25 19:04:43 2020 rev:2 rq:796801 version:3.1.3 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-Lektor/python-Lektor.changes 2020-03-27 16:48:03.067930751 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-Lektor.new.2738/python-Lektor.changes 2020-04-25 19:04:43.231548777 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 11:38:24 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Lektor.spec ++++++ --- /var/tmp/diff_new_pack.MC75wO/_old 2020-04-25 19:04:43.623549619 +0200 +++ /var/tmp/diff_new_pack.MC75wO/_new 2020-04-25 19:04:43.623549619 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Lektor # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -17,13 +17,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-Lektor Version: 3.1.3 Release: 0 Summary: A static content management system License: BSD-3-Clause Group: Development/Languages/Python -URL: http://github.com/lektor/lektor/ +URL: https://github.com/lektor/lektor/ Source: https://github.com/lektor/lektor/archive/%{version}.tar.gz#/Lektor-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -59,7 +60,9 @@ BuildRequires: %{python_module requests} BuildRequires: %{python_module watchdog} BuildRequires: git-core +%if %{with python2} BuildRequires: python2-functools32 +%endif # /SECTION %ifpython2 Requires: python-functools32