Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dmidecode for openSUSE:Factory 
checked in at 2024-05-29 19:35:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dmidecode (Old)
 and      /work/SRC/openSUSE:Factory/.dmidecode.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dmidecode"

Wed May 29 19:35:16 2024 rev:48 rq:1176721 version:3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes      2024-02-27 
22:45:43.988848557 +0100
+++ /work/SRC/openSUSE:Factory/.dmidecode.new.24587/dmidecode.changes   
2024-05-29 19:35:34.607890819 +0200
@@ -1,0 +2,33 @@
+Sun May 19 15:19:23 UTC 2024 - Jean Delvare <[email protected]>
+
+Update for HPE servers from upstream:
+- dmioem-update-hpe-oem-type-238.patch: Decode PCI bus segment in
+  HPE type 238 records.
+
+- Drop legacy Provides: and Obsoletes: tags. The split from the
+  pmtools package happened 15 years ago so they are no longer
+  relevant.
+
+-------------------------------------------------------------------
+Thu Apr 25 12:41:17 UTC 2024 - Jean Delvare <[email protected]>
+
+- Update to upstream version 3.6:
+  * Support for SMBIOS 3.6.0. This includes new memory device types, new
+    processor upgrades, and Loongarch support.
+  * Support for SMBIOS 3.7.0. This includes new port types, new processor
+    upgrades, new slot characteristics and new fields for memory modules.
+  * Add bash completion.
+  * Decode HPE OEM records 197, 239 and 245.
+  * Implement options --list-strings and --list-types.
+  * Update HPE OEM records 203, 212, 216, 221, 233, 236, 238 and 242.
+  * Update Redfish support.
+  * Bug fixes:
+    Fix enabled slot characteristics not being printed
+  * Minor improvements:
+    Print slot width on its own line
+    Use standard strings for slot width
+  * Obsoletes arm-use-alignment-workaround.patch,
+    dmioem-hpe-oem-record-237-firmware-change.patch and
+    use-read_file-to-read-from-dump.patch.
+
+-------------------------------------------------------------------

Old:
----
  arm-use-alignment-workaround.patch
  dmidecode-3.5.tar.xz
  dmidecode-3.5.tar.xz.sig
  dmioem-hpe-oem-record-237-firmware-change.patch
  use-read_file-to-read-from-dump.patch

New:
----
  dmidecode-3.6.tar.xz
  dmidecode-3.6.tar.xz.sig
  dmioem-update-hpe-oem-type-238.patch

BETA DEBUG BEGIN:
  Old:    Use standard strings for slot width
  * Obsoletes arm-use-alignment-workaround.patch,
    dmioem-hpe-oem-record-237-firmware-change.patch and
  Old:  * Obsoletes arm-use-alignment-workaround.patch,
    dmioem-hpe-oem-record-237-firmware-change.patch and
    use-read_file-to-read-from-dump.patch.
  Old:    dmioem-hpe-oem-record-237-firmware-change.patch and
    use-read_file-to-read-from-dump.patch.
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:Update for HPE servers from upstream:
- dmioem-update-hpe-oem-type-238.patch: Decode PCI bus segment in
  HPE type 238 records.
BETA DEBUG END:

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

Other differences:
------------------
++++++ dmidecode.spec ++++++
--- /var/tmp/diff_new_pack.PcQIld/_old  2024-05-29 19:35:35.103908783 +0200
+++ /var/tmp/diff_new_pack.PcQIld/_new  2024-05-29 19:35:35.103908783 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dmidecode
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           dmidecode
-Version:        3.5
+Version:        3.6
 Release:        0
 Summary:        DMI table decoder
 License:        GPL-2.0-or-later
@@ -27,11 +27,7 @@
 Source1:        
http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig
 # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode
 Source2:        %{name}.keyring
-Patch1:         arm-use-alignment-workaround.patch
-Patch2:         dmioem-hpe-oem-record-237-firmware-change.patch
-Patch3:         use-read_file-to-read-from-dump.patch
-Provides:       pmtools:%{_sbindir}/dmidecode
-Obsoletes:      pmtools < 20071117
+Patch1:         dmioem-update-hpe-oem-type-238.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  xz
 ExclusiveArch:  %ix86 ia64 x86_64 %arm aarch64
@@ -60,6 +56,7 @@
 install -dm 755 %{buildroot}%{_sbindir}
 install -dm 755 %{buildroot}%{_mandir}/man8
 install -dm 755 %{buildroot}%{_docdir}/%{name}
+install -dm 755 %{buildroot}%{_datadir}/bash-completion/completions/
 %ifarch ia64 %arm aarch64
 for i in dmidecode ; do
 %else
@@ -67,6 +64,7 @@
 %endif
 install -m 755 $i %{buildroot}%{_sbindir}/
 install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/
+install -m 644 completion/$i.bash 
%{buildroot}%{_datadir}/bash-completion/completions/$i
 done
 
 %files
@@ -75,5 +73,6 @@
 %dir %{_docdir}/%{name}
 %doc AUTHORS NEWS README
 %{_mandir}/man8/*
+%{_datadir}/bash-completion/completions/*
 %license LICENSE
 

++++++ dmidecode-3.5.tar.xz -> dmidecode-3.6.tar.xz ++++++
++++ 1790 lines of diff (skipped)

++++++ dmioem-update-hpe-oem-type-238.patch ++++++
From: Jerry Hoemann <[email protected]>
Date: Thu, 16 May 2024 13:12:43 +0200
Subject: dmioem: Update HPE OEM Type 238
Git-commit: 190a23ecfd6d743cb6efbc04bb4d95f0584fd68d
Patch-mainline: yes

New field: PCI Segment Number.

Signed-off-by: Jerry Hoemann <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
---
 dmioem.c |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

--- dmidecode-3.6.orig/dmioem.c
+++ dmidecode-3.6/dmioem.c
@@ -1346,14 +1346,20 @@ static int dmi_decode_hp(const struct dm
                         *  0x0C  | Parent Hub | BYTE  | Instance number of 
internal Hub
                         *  0x0D  | Port Speed | BYTE  | Enumerated value of 
speed configured by BIOS
                         *  0x0E  | Device Path| STRING| UEFI Device Path of 
USB endpoint
+                        *  0x0F  | PCI Seg    | WORD  | PCI Segment number of 
the USB controller
                         */
                        if (gen < G9) return 0;
                        pr_handle_name("%s Proliant USB Port Connector 
Correlation Record", company);
                        if (h->length < 0x0F) break;
                        if (!(opt.flags & FLAG_QUIET))
                                pr_attr("Associated Handle", "0x%04X", 
WORD(data + 0x4));
-                       pr_attr("PCI Device", "%02x:%02x.%x", data[0x6],
-                               data[0x7] >> 3, data[0x7] & 0x7);
+                       if (h->length < 0x11)
+                               pr_attr("PCI Device", "%02x:%02x.%x", data[0x6],
+                                       data[0x7] >> 3, data[0x7] & 0x7);
+                       else
+                               pr_attr("PCI Device", "%04x:%02x:%02x.%x",
+                                       WORD(data + 0xF), data[0x6],
+                                       data[0x7] >> 3, data[0x7] & 0x7);
                        dmi_hp_238_loc("Location", data[0x8]);
                        dmi_hp_238_flags("Management Port", WORD(data + 0x9));
                        pr_attr("Port Instance", "%d", data[0xB]);

Reply via email to