15
0

- Add patch fix-loglevel.patch to fix invalid log level error.

gh#nima/python-dmidecode#60 bsc#1237685

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=36
This commit is contained in:
2025-03-03 10:58:13 +00:00
committed by Git OBS Bridge
parent c311896e40
commit ae4e5ce904
3 changed files with 21 additions and 1 deletions

12
fix-loglevel.patch Normal file
View File

@@ -0,0 +1,12 @@
diff --color -Naur python-dmidecode-3.12.3-orig/src/efi.c python-dmidecode-3.12.3/src/efi.c
--- python-dmidecode-3.12.3-orig/src/efi.c 2022-11-17 06:51:28
+++ python-dmidecode-3.12.3/src/efi.c 2025-02-25 14:25:32
@@ -84,7 +84,7 @@
}
if(ret == 0){
- log_append(logp, LOGFL_NODUPS, LOG_DEBUG, "%s: entry point at 0x%08llx", eptype, (unsigned long long)*address);
+ log_append(logp, LOGFL_NODUPS, LOG_WARNING, "%s: entry point at 0x%08llx", eptype, (unsigned long long)*address);
}
return ret;

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 3 10:46:32 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Add patch fix-loglevel.patch to fix invalid log level error.
gh#nima/python-dmidecode#60 bsc#1237685
-------------------------------------------------------------------
Tue Oct 22 06:56:53 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dmidecode
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -39,6 +39,8 @@ Patch2: 31-version_info-v-version.patch
Patch3: detect-lib-with-py3.patch
# PATCH-FIX-UPSTREAM gcc14.patch gh#nima/python-dmidecode#59 -- daniel.garcia@suse.com
Patch4: gcc14.patch
# PATCH-FIX-OPENSUSE fix-loglevel.patch gh#nima/python-dmidecode#60
Patch5: fix-loglevel.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes