Hello community,
here is the log from the commit of package python-SQLAlchemy-Utils for
openSUSE:Factory checked in at 2020-04-22 20:51:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SQLAlchemy-Utils (Old)
and /work/SRC/openSUSE:Factory/.python-SQLAlchemy-Utils.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-SQLAlchemy-Utils"
Wed Apr 22 20:51:21 2020 rev:25 rq:795735 version:0.36.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-SQLAlchemy-Utils/python-SQLAlchemy-Utils.changes
2020-03-27 22:01:18.286932612 +0100
+++
/work/SRC/openSUSE:Factory/.python-SQLAlchemy-Utils.new.2738/python-SQLAlchemy-Utils.changes
2020-04-22 20:51:23.407204030 +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.t2zcUq/_old 2020-04-22 20:51:24.143205471 +0200
+++ /var/tmp/diff_new_pack.t2zcUq/_new 2020-04-22 20:51:24.143205471 +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