From 82dcee1a54dd5249c3c5c1e954601f137ff7ae51427e15c3670c5d86b0267f35 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 22 Nov 2021 16:12:07 +0000 Subject: [PATCH] Accepting request 932999 from home:gladiac:mailman3 - Fix bulding python flavors on newer versions OBS-URL: https://build.opensuse.org/request/show/932999 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mistune?expand=0&rev=29 --- python-mistune.changes | 5 +++++ python-mistune.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-mistune.changes b/python-mistune.changes index d9b5e1a..1eeed8c 100644 --- a/python-mistune.changes +++ b/python-mistune.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 22 10:41:27 UTC 2021 - Andreas Schneider + +- Fix bulding python flavors on newer versions + ------------------------------------------------------------------- Wed Nov 17 13:45:59 UTC 2021 - Andreas Schneider diff --git a/python-mistune.spec b/python-mistune.spec index a58083f..512bb0d 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -19,7 +19,9 @@ %define pkg_version 2.0.0rc1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?sle_version} && 0%{?sle_version} <= 150300 %define pythons python3 +%endif Name: python-mistune Version: 2.0.0~rc1 Release: 0