From 090354a569a4fc1b7c7956072ccb0eff0c2988431d9a0698366718d5da16b14d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 22 Feb 2022 08:24:25 +0000 Subject: [PATCH] Accepting request 956332 from home:gladiac:branches:devel:languages:python - Fix BR for luajit (Leap 15.3 only offers moonjit) - Skip building for python2 OBS-URL: https://build.opensuse.org/request/show/956332 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=18 --- python-lupa.changes | 10 ++++++++++ python-lupa.spec | 8 ++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/python-lupa.changes b/python-lupa.changes index baeacaf..ec6f7f5 100644 --- a/python-lupa.changes +++ b/python-lupa.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Feb 21 09:05:32 UTC 2022 - Andreas Schneider + +- Fix BR for luajit (Leap 15.3 only offers moonjit) + +------------------------------------------------------------------- +Mon Feb 21 08:57:02 UTC 2022 - Andreas Schneider + +- Skip building for python2 + ------------------------------------------------------------------- Wed Dec 29 00:48:53 UTC 2021 - Matej Cepl diff --git a/python-lupa.spec b/python-lupa.spec index c8083b7..d540650 100644 --- a/python-lupa.spec +++ b/python-lupa.spec @@ -1,7 +1,7 @@ # # spec file for package python-lupa # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-lupa Version: 1.10 Release: 0 @@ -31,11 +32,14 @@ BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(lua) -Recommends: luajit Suggests: lua +%if 0%{suse_version} >= 1550 || 0%{?sle_version} >= 150400 %ifnarch riscv64 BuildRequires: pkgconfig(luajit) %endif +Recommends: luajit +# /suse_version +%endif %python_subpackages %description