Hello community,

here is the log from the commit of package python-pamqp for openSUSE:Leap:15.2 
checked in at 2020-04-25 19:06:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pamqp (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-pamqp.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pamqp"

Sat Apr 25 19:06:30 2020 rev:5 rq:797192 version:2.3.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pamqp/python-pamqp.changes      
2020-03-09 18:09:50.185065061 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-pamqp.new.2738/python-pamqp.changes    
2020-04-25 19:06:31.003780458 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 10:35:35 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pamqp.spec ++++++
--- /var/tmp/diff_new_pack.ebuKSW/_old  2020-04-25 19:06:31.439781396 +0200
+++ /var/tmp/diff_new_pack.ebuKSW/_new  2020-04-25 19:06:31.443781404 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pamqp
 #
-# 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
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-pamqp
 Version:        2.3.0
 Release:        0
@@ -25,13 +26,14 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/gmr/pamqp
 Source:         https://github.com/gmr/pamqp/archive/%{version}.tar.gz
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python-unittest2
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-unittest2
+%endif
 %python_subpackages
 
 %description


Reply via email to