del sw_64 patch ifarch
(cherry picked from commit 1b877fe7575478d5abe4340b82c29cd41c4d3f26)
This commit is contained in:
parent
dff6566d11
commit
6567a4190d
@ -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 <nima@autonomy.net.au>
|
||||
- *. © 2009-2013 David Sommerseth <davids@redhat.com>
|
||||
- *. © 2002-2010 Jean Delvare <khali@linux-fr.org>
|
||||
- *. © 2000-2002 Alan Cox <alan@redhat.com>
|
||||
+ *. © 2007-2013 Nima Talebi <nima@autonomy.net.au>
|
||||
+ *. © 2009-2013 David Sommerseth <davids@redhat.com>
|
||||
+ *. © 2002-2010 Jean Delvare <khali@linux-fr.org>
|
||||
+ *. © 2000-2002 Alan Cox <alan@redhat.com>
|
||||
*.
|
||||
*. This file is part of Python DMI-Decode.
|
||||
*.
|
||||
@@ -882,6 +882,7 @@
|
||||
{ 0x2F, "Core m7" },
|
||||
|
||||
|
||||
@ -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 <mahailiang@uniontech.com> - 3.12.3-5
|
||||
- del sw_64 patch ifarch
|
||||
|
||||
* Fri Aug 11 2023 liyunfei <liyunfei33@huawei.com> - 3.12.3-4
|
||||
- add clang compile support
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user