From 23be72089e8ca5892d1698ef6807b6809ffe55b5b56f0b8e29c26c658de39e21 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 18 Nov 2021 20:40:05 +0000 Subject: [PATCH] Accepting request 932322 from home:gladiac:mailman3 - Only build for python3 on openSUSE Leap 15.3 OBS-URL: https://build.opensuse.org/request/show/932322 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-tabs?expand=0&rev=4 --- python-sphinx-tabs.changes | 5 +++++ python-sphinx-tabs.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-sphinx-tabs.changes b/python-sphinx-tabs.changes index 97a3a1b..32ec87d 100644 --- a/python-sphinx-tabs.changes +++ b/python-sphinx-tabs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 17 11:03:54 UTC 2021 - Andreas Schneider + +- Fix building on openSUSE 15.3 + ------------------------------------------------------------------- Tue Jun 29 09:47:05 UTC 2021 - Ondřej Súkup diff --git a/python-sphinx-tabs.spec b/python-sphinx-tabs.spec index 394bdf5..92ff5cc 100644 --- a/python-sphinx-tabs.spec +++ b/python-sphinx-tabs.spec @@ -17,6 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?sle_version} && 0%{?sle_version} <= 150300 +%define pythons python3 +%endif # TODO: use github tarball because upstrean dont distribute tests via pypi %bcond_with test Name: python-sphinx-tabs