Hello community,
here is the log from the commit of package python-SQLAlchemy-Utils for
openSUSE:Leap:15.2 checked in at 2020-04-30 18:51:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-SQLAlchemy-Utils (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-SQLAlchemy-Utils.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-SQLAlchemy-Utils"
Thu Apr 30 18:51:53 2020 rev:25 rq:796337 version:0.36.3
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-SQLAlchemy-Utils/python-SQLAlchemy-Utils.changes
2020-03-29 14:56:36.435200660 +0200
+++
/work/SRC/openSUSE:Leap:15.2/.python-SQLAlchemy-Utils.new.2738/python-SQLAlchemy-Utils.changes
2020-04-30 18:51:54.704658203 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 09:36:04 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-SQLAlchemy-Utils.spec ++++++
--- /var/tmp/diff_new_pack.jFfMta/_old 2020-04-30 18:51:55.020658871 +0200
+++ /var/tmp/diff_new_pack.jFfMta/_new 2020-04-30 18:51:55.028658887 +0200
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-SQLAlchemy-Utils
Version: 0.36.3
Release: 0
@@ -42,8 +43,6 @@
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
-BuildRequires: python-enum34
-BuildRequires: python-ipaddr
BuildRequires: python-rpm-macros
Requires: python-SQLAlchemy >= 1.0
Requires: python-six
@@ -58,6 +57,10 @@
Recommends: python-passlib >= 1.6
Recommends: python-phonenumbers >= 5.9.2
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python-enum34
+BuildRequires: python-ipaddr
+%endif
%ifpython2
Requires: python-enum34
Requires: python-ipaddr