From 38d3d394b43d673ed4f8d79db80451a27e4bb47d5f6d437f44aee5a1683fdb48 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 22 Apr 2023 06:18:14 +0000 Subject: [PATCH] Accepting request 1081388 from home:dirkmueller:acdc:as_python3_module SR for python stack proposal OBS-URL: https://build.opensuse.org/request/show/1081388 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=30 --- python-dmidecode.changes | 9 +++++++-- python-dmidecode.spec | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-dmidecode.changes b/python-dmidecode.changes index 2ee9a1f..c6ca9ca 100644 --- a/python-dmidecode.changes +++ b/python-dmidecode.changes @@ -1,7 +1,12 @@ ------------------------------------------------------------------- -Tue Apr 4 08:44:27 UTC 2023 - Matej Cepl +Fri Apr 21 12:24:18 UTC 2023 - Dirk Müller -- Clean up SPEC file +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:40:56 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. ------------------------------------------------------------------- Tue Mar 14 10:32:01 UTC 2023 - Matej Cepl diff --git a/python-dmidecode.spec b/python-dmidecode.spec index db32892..ba5b89b 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -18,6 +18,7 @@ %define oldpython python %define modname dmidecode +%{?sle15_python_module_pythons} Name: python-dmidecode Version: 3.12.3 Release: 0 @@ -94,6 +95,7 @@ PRIO=$(echo %{python_version}|tr -d '.') %postun if [ ! -f %{_datadir}/python-dmidecode/pymap-%{python_bin_suffix}.xml ] ; then + MAJVER=$(ver=%{python_version}; echo ${ver:0:1}) %{_sbindir}/update-alternatives --remove pymap.xml \ %{_datadir}/python-dmidecode/pymap-%{python_bin_suffix}.xml fi