Hello community, here is the log from the commit of package python-raven for openSUSE:Factory checked in at 2020-03-27 00:23:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-raven (Old) and /work/SRC/openSUSE:Factory/.python-raven.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-raven" Fri Mar 27 00:23:19 2020 rev:12 rq:784793 version:6.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes 2019-11-08 15:22:53.982815388 +0100 +++ /work/SRC/openSUSE:Factory/.python-raven.new.3160/python-raven.changes 2020-03-27 00:23:23.632198950 +0100 @@ -1,0 +2,5 @@ +Sat Mar 14 07:19:00 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-raven.spec ++++++ --- /var/tmp/diff_new_pack.siRBU9/_old 2020-03-27 00:23:24.464199371 +0100 +++ /var/tmp/diff_new_pack.siRBU9/_new 2020-03-27 00:23:24.464199371 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-raven # -# 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,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-raven Version: 6.10.0 Release: 0 Summary: A client for Sentry License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/getsentry/raven-python Source: https://files.pythonhosted.org/packages/source/r/raven/raven-%{version}.tar.gz # https://github.com/getsentry/raven-python/issues/1284 @@ -54,10 +54,12 @@ BuildRequires: %{python_module vine} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python-web.py Recommends: python-Flask >= 0.8 Recommends: python-blinker >= 1.1 BuildArch: noarch +%if %{with python2} +BuildRequires: python-web.py +%endif %python_subpackages %description