Hello community,
here is the log from the commit of package python-pytest-benchmark for
openSUSE:Leap:15.2 checked in at 2020-03-29 14:55:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pytest-benchmark (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-pytest-benchmark.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-benchmark"
Sun Mar 29 14:55:36 2020 rev:4 rq:789107 version:3.2.3
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-pytest-benchmark/python-pytest-benchmark.changes
2020-02-23 16:47:43.766350415 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-pytest-benchmark.new.3160/python-pytest-benchmark.changes
2020-03-29 14:55:36.683154094 +0200
@@ -1,0 +2,5 @@
+Fri Mar 13 12:42:10 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix buidling without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-benchmark.spec ++++++
--- /var/tmp/diff_new_pack.BcWnts/_old 2020-03-29 14:55:37.371154630 +0200
+++ /var/tmp/diff_new_pack.BcWnts/_new 2020-03-29 14:55:37.391154646 +0200
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-pytest-benchmark
Version: 3.2.3
Release: 0
@@ -36,10 +37,12 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: git-core
+%if %{with python2}
BuildRequires: python-mock
BuildRequires: python-pathlib2
-BuildRequires: python-rpm-macros
BuildRequires: python-statistics
+%endif
+BuildRequires: python-rpm-macros
Requires: python-py-cpuinfo
Requires: python-pytest >= 3.8
Requires(post): update-alternatives