SHA256
1
0
forked from pool/python-lupa

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
This commit is contained in:
Dirk Mueller 2022-02-22 08:24:25 +00:00 committed by Git OBS Bridge
parent 06ea211ba0
commit 090354a569
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Feb 21 09:05:32 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>
- Fix BR for luajit (Leap 15.3 only offers moonjit)
-------------------------------------------------------------------
Mon Feb 21 08:57:02 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>
- Skip building for python2
-------------------------------------------------------------------
Wed Dec 29 00:48:53 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -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