Hello community,

here is the log from the commit of package python-prometheus_client for 
openSUSE:Factory checked in at 2020-04-21 13:09:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-prometheus_client (Old)
 and      /work/SRC/openSUSE:Factory/.python-prometheus_client.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-prometheus_client"

Tue Apr 21 13:09:30 2020 rev:9 rq:795781 version:0.7.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-prometheus_client/python-prometheus_client.changes
        2020-02-28 15:20:54.945841143 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-prometheus_client.new.2738/python-prometheus_client.changes
      2020-04-21 13:09:42.680697891 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 10:53:52 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-prometheus_client.spec ++++++
--- /var/tmp/diff_new_pack.nfFXLA/_old  2020-04-21 13:09:43.480699487 +0200
+++ /var/tmp/diff_new_pack.nfFXLA/_new  2020-04-21 13:09:43.480699487 +0200
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-prometheus_client
 Version:        0.7.1
 Release:        0
@@ -25,15 +26,18 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/prometheus/client_python
 Source:         
https://github.com/prometheus/client_python/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-futures
 BuildRequires:  python-rpm-macros
-Suggests:       python-twisted
+Recommends:     python-Twisted
 Provides:       python-prometheus-client = %{version}-%{release}
 Obsoletes:      python-prometheus-client < %{version}-%{release}
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-futures
+%endif
 %python_subpackages
 
 %description


Reply via email to