From d2bf2028897f962391a7810b41d20e297178dc8188bb3c645db83274863d83c7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 23 Nov 2023 15:56:11 +0000 Subject: [PATCH] Accepting request 1128298 from home:theMarix:branches:devel:languages:python - Also build for modern Python on Leap. - Drop explicit definition of %python_module in the spec file. This is nowadays defined on all distributions we build for. OBS-URL: https://build.opensuse.org/request/show/1128298 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nodeenv?expand=0&rev=18 --- python-nodeenv.changes | 7 +++++++ python-nodeenv.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-nodeenv.changes b/python-nodeenv.changes index b9ea5b5..d90740f 100644 --- a/python-nodeenv.changes +++ b/python-nodeenv.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 23 09:54:32 UTC 2023 - Matthias Bach + +- Also build for modern Python on Leap. +- Drop explicit definition of %python_module in the spec file. + This is nowadays defined on all distributions we build for. + ------------------------------------------------------------------- Tue Jul 19 11:46:53 UTC 2022 - Dirk Müller diff --git a/python-nodeenv.spec b/python-nodeenv.spec index 86c6195..62e2d01 100644 --- a/python-nodeenv.spec +++ b/python-nodeenv.spec @@ -1,7 +1,7 @@ # # spec file for package python-nodeenv # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,8 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%{?sle15allpythons} -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-nodeenv Version: 1.7.0 Release: 0 @@ -32,7 +32,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages