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