Hello community, here is the log from the commit of package python-CommonMark for openSUSE:Factory checked in at 2020-03-27 00:25:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-CommonMark (Old) and /work/SRC/openSUSE:Factory/.python-CommonMark.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-CommonMark" Fri Mar 27 00:25:29 2020 rev:10 rq:785567 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-CommonMark/python-CommonMark.changes 2019-11-04 17:04:16.656124672 +0100 +++ /work/SRC/openSUSE:Factory/.python-CommonMark.new.3160/python-CommonMark.changes 2020-03-27 00:25:32.704264331 +0100 @@ -1,0 +2,5 @@ +Mon Mar 16 10:26:20 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-CommonMark.spec ++++++ --- /var/tmp/diff_new_pack.5sh2GV/_old 2020-03-27 00:25:33.520264744 +0100 +++ /var/tmp/diff_new_pack.5sh2GV/_new 2020-03-27 00:25:33.524264746 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-CommonMark # -# 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 @@ -18,22 +18,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python +%bcond_without python2 Name: python-CommonMark Version: 0.9.1 Release: 0 Summary: Python parser for the CommonMark Markdown spec License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/rtfd/CommonMark-py Source: https://files.pythonhosted.org/packages/source/c/commonmark/commonmark-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-future >= 0.14.0 BuildRequires: python-rpm-macros Requires: python-setuptools Provides: python-commonmark = %{version} Obsoletes: python-commonmark < %{version} BuildArch: noarch +%if %{with python2} +BuildRequires: python-future >= 0.14.0 +%endif %ifpython2 Requires: python-future >= 0.14.0 Obsoletes: %{oldpython}-commonmark < %{version}