Hello community,

here is the log from the commit of package python-pecan for openSUSE:Factory 
checked in at 2020-03-27 00:23:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pecan (Old)
 and      /work/SRC/openSUSE:Factory/.python-pecan.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pecan"

Fri Mar 27 00:23:32 2020 rev:25 rq:784812 version:1.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pecan/python-pecan.changes        
2019-12-23 22:35:31.177770224 +0100
+++ /work/SRC/openSUSE:Factory/.python-pecan.new.3160/python-pecan.changes      
2020-03-27 00:23:37.140205792 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 08:01:12 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pecan.spec ++++++
--- /var/tmp/diff_new_pack.8G8raV/_old  2020-03-27 00:23:38.360206410 +0100
+++ /var/tmp/diff_new_pack.8G8raV/_new  2020-03-27 00:23:38.364206412 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pecan
 #
-# Copyright (c) 2019 SUSE LLC
+# 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,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-pecan
 Version:        1.3.3
 Release:        0
 Summary:        A WSGI object-dispatching web framework
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/pecan/pecan
 Source:         
https://files.pythonhosted.org/packages/source/p/pecan/pecan-%{version}.tar.gz
 Patch0:         pecan-no-kajiki.patch
@@ -38,12 +38,10 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module virtualenv}
+# we need sqlite module
+BuildRequires:  %{pythons}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-singledispatch
-# Because of sqlite3 module
-BuildRequires:  python
-BuildRequires:  python3
 Requires:       python-Mako >= 0.4.0
 Requires:       python-WebOb >= 1.2
 Requires:       python-WebTest >= 1.3.1
@@ -53,6 +51,9 @@
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-singledispatch
+%endif
 %ifpython2
 Requires:       python-singledispatch
 %endif


Reply via email to