From 697fb2742e47f91f08fa7be1ec54a93cc7d77906cdfdff275201b3f27ca72b3f Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 8 Apr 2025 20:19:55 +0000 Subject: [PATCH] - Switch te SLE 15 build setup to also use a macro instead of referencing the Python 3.11 interpreter directly. OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-gcemetadata?expand=0&rev=12 --- python-gcemetadata.changes | 6 ++++++ python-gcemetadata.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-gcemetadata.changes b/python-gcemetadata.changes index 66e9782..0fb95c9 100644 --- a/python-gcemetadata.changes +++ b/python-gcemetadata.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 8 20:18:43 UTC 2025 - Robert Schweikert + +- Switch te SLE 15 build setup to also use a macro instead of referencing + the Python 3.11 interpreter directly. + ------------------------------------------------------------------- Mon Apr 7 19:12:27 UTC 2025 - Robert Schweikert diff --git a/python-gcemetadata.spec b/python-gcemetadata.spec index 2829500..0e71ff1 100644 --- a/python-gcemetadata.spec +++ b/python-gcemetadata.spec @@ -19,7 +19,7 @@ %if 0%{?suse_version} >= 1600 %define pythons %{primary_python} %else -%define pythons python311 +%{?sle15_python_module_pythons} %endif %global _sitelibdir %{%{pythons}_sitelib}