diff --git a/python-dmidecode-3.12.3-sw.patch b/python-dmidecode-3.12.3-sw.patch index 3894f03..fefdd2d 100644 --- a/python-dmidecode-3.12.3-sw.patch +++ b/python-dmidecode-3.12.3-sw.patch @@ -1,21 +1,6 @@ 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 - *. -- *. © 2007-2013 Nima Talebi -- *. © 2009-2013 David Sommerseth -- *. © 2002-2010 Jean Delvare -- *. © 2000-2002 Alan Cox -+ *. © 2007-2013 Nima Talebi -+ *. © 2009-2013 David Sommerseth -+ *. © 2002-2010 Jean Delvare -+ *. © 2000-2002 Alan Cox - *. - *. This file is part of Python DMI-Decode. - *. @@ -882,6 +882,7 @@ { 0x2F, "Core m7" }, diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 13533a1..0f74490 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -1,14 +1,12 @@ Name: python-dmidecode Version: 3.12.3 -Release: 4 +Release: 5 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#/%{name}-%{version}.tar.gz -%ifarch sw_64 Patch1: python-dmidecode-3.12.3-sw.patch -%endif #Reference:https://src.fedoraproject.org/rpms/python-dmidecode/blob/rawhide/f/python-dmidecode-rhbz2154949.patch Patch2: python-dmidecode-rhbz2154949.patch @@ -76,6 +74,9 @@ make -C unit-tests %doc README doc/README.upstream %changelog +* Tue May 13 2025 mahailiang - 3.12.3-5 +- del sw_64 patch ifarch + * Fri Aug 11 2023 liyunfei - 3.12.3-4 - add clang compile support