From e48aa66891aa656a83213f5afc919c9dee4aa09c Mon Sep 17 00:00:00 2001 From: nilusyi Date: Wed, 12 Jul 2023 15:10:42 +0800 Subject: [PATCH] upgrade to 3.12.3 --- python-dmidecode-use_python3.patch | 31 ------------------------------ python-dmidecode.spec | 9 +++++---- sources | 2 +- 3 files changed, 6 insertions(+), 36 deletions(-) delete mode 100644 python-dmidecode-use_python3.patch diff --git a/python-dmidecode-use_python3.patch b/python-dmidecode-use_python3.patch deleted file mode 100644 index 65bca47..0000000 --- a/python-dmidecode-use_python3.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/Makefile.orig 2020-11-26 17:05:32.097857000 +0100 -+++ b/Makefile 2020-11-26 17:09:31.660779877 +0100 -@@ -38,8 +38,8 @@ - #. $AutoHeaderSerial::20100225 $ - #. ******* AUTOHEADER END v1.2 ******* - --PY_BIN := python2 --VERSION := $(shell cd src;$(PY_BIN) -c "from setup_common import *; print(get_version());") -+PY_BIN := $(PYTHON_BIN) -+VERSION := $(PYTHON_VERSION) - PACKAGE := python-dmidecode - PY_VER := $(shell $(PY_BIN) -c 'import sys; print("%d.%d"%sys.version_info[0:2])') - PY_MV := $(shell echo $(PY_VER) | cut -b 1) -@@ -65,7 +65,7 @@ - $(PY) src/setup.py build - - dmidump : src/util.o src/efi.o src/dmilog.o -- $(CC) -o $@ src/dmidump.c $^ -g -Wall -D_DMIDUMP_MAIN_ -+ $(CC) -o $@ src/dmidump.c $^ $(CFLAGS) -D_DMIDUMP_MAIN_ - - install: - $(PY) src/setup.py install ---- a/unit-tests/Makefile.orig 2015-06-08 17:19:45.000000000 +0200 -+++ b/unit-tests/Makefile 2020-11-26 17:12:15.222361106 +0100 -@@ -1,5 +1,5 @@ --PY_BIN := python2 -+PY_BIN := $(PYTHON_BIN) - - test : - $(PY_BIN) unit -vv - diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 0b0dc2a..bbd85c2 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -1,13 +1,11 @@ Summary: Python module to access DMI data Name: python-dmidecode -Version: 3.12.2 -Release: 3%{?dist} +Version: 3.12.3 +Release: 1%{?dist} License: GPLv2 URL: https://github.com/nima/python-dmidecode Source0: %{url}/archive/v%{version}/%{name}/%{name}-%{version}.tar.gz -Patch3000: python-dmidecode-use_python3.patch - BuildRequires: make gcc python3-devel BuildRequires: libxml2-devel libxml2-python3 @@ -54,6 +52,9 @@ make -C unit-tests %{_datadir}/python-dmidecode/ %changelog +* Wed Jul 12 2023 Yi Lin - 3.12.3-1 +- upgrade to 3.12.3 + * Fri Apr 28 2023 OpenCloudOS Release Engineering - 3.12.2-3 - Rebuilt for OpenCloudOS Stream 23.05 diff --git a/sources b/sources index 7e07fdf..d4493cc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-dmidecode-3.12.2.tar.gz) = da5c4d52d74b77c3aa6fc7b63b9fd29150a6e915286efbcfc4284caa0bacf8a1bc077614c83ee93f14e7d9502713a37f135885a075b96b1bf73bd0704e5a258f +SHA512 (python-dmidecode-3.12.3.tar.gz) = b9436236851f9a225340279e50ae3a4a8def10e5a75d918d7b1cf77c8c2213632acd72ece58eaf09f2dc5f26d93ce44d9da9249182bb00147ed9249cd40449cf -- Gitee