diff --git a/python-dmidecode-3.12.2-sw.patch b/python-dmidecode-3.12.3-sw.patch old mode 100755 new mode 100644 similarity index 68% rename from python-dmidecode-3.12.2-sw.patch rename to python-dmidecode-3.12.3-sw.patch index 7e384ca..3894f03 --- a/python-dmidecode-3.12.2-sw.patch +++ b/python-dmidecode-3.12.3-sw.patch @@ -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" }, diff --git a/python-dmidecode-3.12.3.tar.gz b/python-dmidecode-3.12.3.tar.gz new file mode 100644 index 0000000..75b18c4 Binary files /dev/null and b/python-dmidecode-3.12.3.tar.gz differ diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 2b76422..3ce9247 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -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 - 3.12.3-1 +- Upgrade to 3.12.3 + * Wed Nov 23 2022 wuzx - 3.12.2-24 - Add sw64 architecture diff --git a/v3.12.2.tar.gz b/v3.12.2.tar.gz deleted file mode 100644 index de7a676..0000000 Binary files a/v3.12.2.tar.gz and /dev/null differ