Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-dmidecode for 
openSUSE:Factory checked in at 2022-11-20 19:47:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dmidecode (Old)
 and      /work/SRC/openSUSE:Factory/.python-dmidecode.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dmidecode"

Sun Nov 20 19:47:02 2022 rev:8 rq:1036837 version:3.12.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dmidecode/python-dmidecode.changes        
2022-11-09 12:58:37.784751896 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-dmidecode.new.1597/python-dmidecode.changes  
    2022-11-20 19:47:06.129268395 +0100
@@ -1,0 +2,8 @@
+Sat Nov 19 20:37:12 UTC 2022 - Matej Cepl <mc...@suse.com>
+
+- Update to the upstream release 3.12.3:
+  - consolidation of previous git commits
+  - support SMBIOS3.3.0
+- Remove upstreamed huge-memory.patch
+
+-------------------------------------------------------------------

Old:
----
  huge-memory.patch
  python-dmidecode-3.12.2+git.1666757106.e6ab5bc.tar.gz

New:
----
  python-dmidecode-3.12.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-dmidecode.spec ++++++
--- /var/tmp/diff_new_pack.XVjuPF/_old  2022-11-20 19:47:06.985273342 +0100
+++ /var/tmp/diff_new_pack.XVjuPF/_new  2022-11-20 19:47:06.989273366 +0100
@@ -19,17 +19,14 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-dmidecode
-Version:        3.12.2+git.1666757106.e6ab5bc
+Version:        3.12.3
 Release:        0
 Summary:        Python module to access DMI data
 License:        GPL-2.0-only
 Group:          System/Libraries
 URL:            https://github.com/nima/python-dmidecode
-# Source0:        
https://github.com/nima/python-dmidecode/archive/refs/tags/v%%{version}.tar.gz#/python-dmidecode-%%{version}.tar.gz
-Source0:        python-dmidecode-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM huge-memory.patch gh#nima/python-dmidecode#33 
mc...@suse.com
-# use DWORD instead of WORD when calling dmi_memory_device_extended_size
-Patch0:         huge-memory.patch
+Source0:        
https://github.com/nima/python-dmidecode/archive/refs/tags/v%{version}.tar.gz#/python-dmidecode-%{version}.tar.gz
+# Source0:        python-dmidecode-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM gcc7-inline.patch gh#nima/python-dmidecode#35 
mc...@suse.com
 # Don't use inline keyword.
 Patch1:         gcc7-inline.patch

++++++ python-dmidecode-3.12.2+git.1666757106.e6ab5bc.tar.gz -> 
python-dmidecode-3.12.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/.github/.codecov.yml 
new/python-dmidecode-3.12.3/.github/.codecov.yml
--- old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/.github/.codecov.yml     
1970-01-01 01:00:00.000000000 +0100
+++ new/python-dmidecode-3.12.3/.github/.codecov.yml    2022-11-17 
06:51:28.000000000 +0100
@@ -0,0 +1,29 @@
+codecov:
+  notify:
+    require_ci_to_pass: yes
+
+coverage:
+  precision: 2
+  round: down
+  range: "70...100"
+
+  status:
+    project: yes
+    patch:
+      default:
+        target: auto
+        threshold: 100%
+    changes: no
+
+parsers:
+  gcov:
+    branch_detection:
+      conditional: yes
+      loop: yes
+      method: no
+      macro: no
+
+comment:
+  layout: "header, diff"
+  behavior: default
+  require_changes: no
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/.gitignore 
new/python-dmidecode-3.12.3/.gitignore
--- old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/.gitignore       
1970-01-01 01:00:00.000000000 +0100
+++ new/python-dmidecode-3.12.3/.gitignore      2022-11-17 06:51:28.000000000 
+0100
@@ -0,0 +1 @@
+*.pyc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/src/dmidecode.c 
new/python-dmidecode-3.12.3/src/dmidecode.c
--- old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/src/dmidecode.c  
2022-10-26 06:05:06.000000000 +0200
+++ new/python-dmidecode-3.12.3/src/dmidecode.c 2022-11-17 06:51:28.000000000 
+0100
@@ -5378,7 +5378,7 @@
                 dmi_memory_device_width(sect_n, "TotalWidth", WORD(data + 
0x08));
                 dmi_memory_device_width(sect_n, "DataWidth", WORD(data + 
0x0A));
                 if (h->length >= 0x20 && WORD(data + 0x0C) == 0x7FFF) {
-                        dmi_memory_device_extended_size(sect_n, WORD(data + 
0x1C));
+                        dmi_memory_device_extended_size(sect_n, DWORD(data + 
0x1C));
                 } else {
                         dmi_memory_device_size(sect_n, WORD(data + 0x0C));
                 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/src/pymap.xml 
new/python-dmidecode-3.12.3/src/pymap.xml
--- old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/src/pymap.xml    
2022-10-26 06:05:06.000000000 +0200
+++ new/python-dmidecode-3.12.3/src/pymap.xml   2022-11-17 06:51:28.000000000 
+0100
@@ -304,6 +304,7 @@
           <Map keytype="constant" key="SlotId"            valuetype="string" 
value="SlotID/@id"/>
           <Map keytype="constant" key="Type:SlotBusWidth" valuetype="string" 
value="SlotWidth"/>
           <Map keytype="constant" key="Type:SlotType"     valuetype="string" 
value="SlotType"/>
+         <Map keytype="constant" key="Bus Address"       valuetype="string" 
value="BusAddress"/>
         </Map>
       </Map>
     </TypeMap>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/src/types.h 
new/python-dmidecode-3.12.3/src/types.h
--- old/python-dmidecode-3.12.2+git.1666757106.e6ab5bc/src/types.h      
2022-10-26 06:05:06.000000000 +0200
+++ new/python-dmidecode-3.12.3/src/types.h     2022-11-17 06:51:28.000000000 
+0100
@@ -57,7 +57,7 @@
 } u64;
 #endif
 
-#ifdef ALIGNMENT_WORKAROUND
+#if defined(ALIGNMENT_WORKAROUND) || defined(BIGENDIAN)
 static inline u64 U64(u32 low, u32 high)
 {
         u64 self;
@@ -69,20 +69,18 @@
 }
 #endif
 
-#ifdef ALIGNMENT_WORKAROUND
-#      ifdef BIGENDIAN
-#      define WORD(x) (u16)((x)[1]+((x)[0]<<8))
-#      define DWORD(x) (u32)((x)[3]+((x)[2]<<8)+((x)[1]<<16)+((x)[0]<<24))
-#      define QWORD(x) (U64(DWORD(x+4), DWORD(x)))
-#      else /* BIGENDIAN */
-#      define WORD(x) (u16)((x)[0]+((x)[1]<<8))
-#      define DWORD(x) (u32)((x)[0]+((x)[1]<<8)+((x)[2]<<16)+((x)[3]<<24))
-#      define QWORD(x) (U64(DWORD(x), DWORD(x+4)))
-#      endif /* BIGENDIAN */
-#else /* ALIGNMENT_WORKAROUND */
+/*
+ * Per SMBIOS v2.8.0 and later, all structures assume a little-endian
+ * ordering convention.
+ */
+#if defined(ALIGNMENT_WORKAROUND) || defined(BIGENDIAN)
+#define WORD(x) (u16)((x)[0] + ((x)[1] << 8))
+#define DWORD(x) (u32)((x)[0] + ((x)[1] << 8) + ((x)[2] << 16) + ((x)[3] << 
24))
+#define QWORD(x) (U64(DWORD(x), DWORD(x + 4)))
+#else /* ALIGNMENT_WORKAROUND || BIGENDIAN */
 #define WORD(x) (u16)(*(const u16 *)(x))
 #define DWORD(x) (u32)(*(const u32 *)(x))
 #define QWORD(x) (*(const u64 *)(x))
-#endif /* ALIGNMENT_WORKAROUND */
+#endif /* ALIGNMENT_WORKAROUND || BIGENDIAN */
 
 #endif

Reply via email to