Hello community,
here is the log from the commit of package python-openapi-core for
openSUSE:Factory checked in at 2020-01-10 17:51:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openapi-core (Old)
and /work/SRC/openSUSE:Factory/.python-openapi-core.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openapi-core"
Fri Jan 10 17:51:23 2020 rev:7 rq:762860 version:0.12.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-openapi-core/python-openapi-core.changes
2020-01-09 22:54:19.198821148 +0100
+++
/work/SRC/openSUSE:Factory/.python-openapi-core.new.6675/python-openapi-core.changes
2020-01-10 17:51:35.882128753 +0100
@@ -1,0 +2,6 @@
+Fri Jan 10 14:50:55 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Properly conditionalize the python2 drop so it lets us backport
+ the packages
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-openapi-core.spec ++++++
--- /var/tmp/diff_new_pack.4A1NNB/_old 2020-01-10 17:51:36.926129278 +0100
+++ /var/tmp/diff_new_pack.4A1NNB/_new 2020-01-10 17:51:36.930129281 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-openapi-core
#
-# 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,7 +17,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%if 0%{?suse_version} > 1500
%define skip_python2 1
+%bcond_with python2
+%else
+%bcond_without python2
+%endif
Name: python-openapi-core
Version: 0.12.0
Release: 0
@@ -45,6 +50,16 @@
Requires: python-six
Requires: python-strict-rfc3339
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python-backports.functools_lru_cache
+BuildRequires: python-backports.functools_partialmethod
+BuildRequires: python-enum34
+%endif
+%ifpython2
+Requires: python-backports.functools_lru_cache
+Requires: python-backports.functools_partialmethod
+Requires: python-enum34
+%endif
%python_subpackages
%description