Upgrade package to 3.12.3

modify patch
This commit is contained in:
chendexi 2022-12-06 11:30:19 +08:00
parent 0f768296b0
commit a8a42f3e15
4 changed files with 13 additions and 10 deletions

View File

@ -1,6 +1,6 @@
diff -Nuar python-dmidecode-3.12.2.org/src/dmidecode.c python-dmidecode-3.12.2.sw/src/dmidecode.c
--- python-dmidecode-3.12.2.org/src/dmidecode.c 2022-02-26 07:07:27.810000000 +0000
+++ python-dmidecode-3.12.2.sw/src/dmidecode.c 2022-02-26 07:08:59.290000000 +0000
diff -Naru python-dmidecode-3.12.3.org/src/dmidecode.c python-dmidecode-3.12.3.sw/src/dmidecode.c
--- python-dmidecode-3.12.3.org/src/dmidecode.c 2022-11-17 13:51:28.000000000 +0800
+++ python-dmidecode-3.12.3.sw/src/dmidecode.c 2022-12-06 11:13:37.911806178 +0800
@@ -2,10 +2,10 @@
/*. ******* coding:utf-8 AUTOHEADER START v1.1 *******
*. vim: fileencoding=utf-8 syntax=c sw=2 ts=2 et
@ -16,11 +16,11 @@ diff -Nuar python-dmidecode-3.12.2.org/src/dmidecode.c python-dmidecode-3.12.2.s
*.
*. This file is part of Python DMI-Decode.
*.
@@ -831,6 +831,7 @@
{ 0x2B, "Atom" },
@@ -882,6 +882,7 @@
{ 0x2F, "Core m7" },
{ 0x30, "Alpha" },
+ { 0x9916, "Sw_64" },
+ { 0x9916, "Sw_64" },
{ 0x31, "Alpha 21064" },
{ 0x32, "Alpha 21066" },
{ 0x33, "Alpha 21164" },

Binary file not shown.

View File

@ -1,15 +1,15 @@
%define debug_package %{nil}
Name: python-dmidecode
Version: 3.12.2
Release: 24
Version: 3.12.3
Release: 1
Summary: Python extension module for dmidecode
License: GPLv2
URL: http://projects.autonomy.net.au/python-dmidecode/
Source0: https://github.com/nima/python-dmidecode/archive/v%{version}.tar.gz
Source0: https://github.com/nima/python-dmidecode/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
%ifarch sw_64
Patch1: python-dmidecode-3.12.2-sw.patch
Patch1: python-dmidecode-3.12.3-sw.patch
%endif
BuildRequires: gcc libxml2-devel python3-libxml2 python3-devel
@ -71,6 +71,9 @@ make -C unit-tests
%doc README doc/README.upstream
%changelog
* Tue Dec 6 2022 chendexi <chendexi@kylinos.cn> - 3.12.3-1
- Upgrade to 3.12.3
* Wed Nov 23 2022 wuzx<wuzx1226@qq.com> - 3.12.2-24
- Add sw64 architecture

Binary file not shown.