Hello community,
here is the log from the commit of package python-aniso8601 for
openSUSE:Factory checked in at 2020-04-23 18:32:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aniso8601 (Old)
and /work/SRC/openSUSE:Factory/.python-aniso8601.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aniso8601"
Thu Apr 23 18:32:47 2020 rev:7 rq:796375 version:8.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aniso8601/python-aniso8601.changes
2019-09-26 20:42:30.838337298 +0200
+++
/work/SRC/openSUSE:Factory/.python-aniso8601.new.2738/python-aniso8601.changes
2020-04-23 18:32:47.588358114 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 04:38:25 UTC 2020 - Steve Kowalik <[email protected]>
+
+- Only BuildRequire python-mock with Python 2.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aniso8601.spec ++++++
--- /var/tmp/diff_new_pack.n5nVa4/_old 2020-04-23 18:32:48.084359063 +0200
+++ /var/tmp/diff_new_pack.n5nVa4/_new 2020-04-23 18:32:48.088359071 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-aniso8601
#
-# 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
@@ -18,6 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname aniso8601
+%bcond_without python2
Name: python-%{modname}
Version: 8.0.0
Release: 0
@@ -29,7 +30,9 @@
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
+%if %{with python2}
BuildRequires: python-mock
+%endif
BuildRequires: python-rpm-macros
Recommends: python-python-dateutil
BuildArch: noarch