Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2019-01-29 14:44:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dmidecode" Tue Jan 29 14:44:55 2019 rev:36 rq:666433 version:3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2018-11-06 13:57:45.379976519 +0100 +++ /work/SRC/openSUSE:Factory/.dmidecode.new.28833/dmidecode.changes 2019-01-29 14:44:57.555074315 +0100 @@ -1,0 +2,12 @@ +Wed Jan 16 09:23:52 UTC 2019 - [email protected] + +- dmidecode-add-logical-non-volatile-device.patch: Add "Logical + non-volatile device" to the memory device types (bsc#1120149). +- Use %doc directly on files instead of installing them explicitly. + +------------------------------------------------------------------- +Mon Jan 14 16:32:30 CET 2019 - [email protected] + +- Don't overwrite the path of license (boo#1121851). + +------------------------------------------------------------------- New: ---- dmidecode-add-logical-non-volatile-device.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmidecode.spec ++++++ --- /var/tmp/diff_new_pack.1jcxhN/_old 2019-01-29 14:44:58.091073664 +0100 +++ /var/tmp/diff_new_pack.1jcxhN/_new 2019-01-29 14:44:58.091073664 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,7 +20,7 @@ Version: 3.2 Release: 0 Summary: DMI table decoder -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Console Url: http://www.nongnu.org/dmidecode/ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz @@ -28,6 +28,7 @@ # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode Source2: %{name}.keyring Patch1: dmidecode-fix-redfish-hostname-print-length.patch +Patch2: dmidecode-add-logical-non-volatile-device.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -51,6 +52,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} @@ -66,17 +68,14 @@ %endif install -m 755 $i %{buildroot}%{_sbindir}/ install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/ -install -m 644 AUTHORS NEWS LICENSE README %{buildroot}%{_docdir}/%{name}/ done %files %defattr(-,root,root) %{_sbindir}/* %dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/AUTHORS -%doc %{_docdir}/%{name}/NEWS -%license %{_docdir}/%{name}/LICENSE -%doc %{_docdir}/%{name}/README +%doc AUTHORS NEWS README %{_mandir}/man8/* +%license LICENSE %changelog ++++++ dmidecode-add-logical-non-volatile-device.patch ++++++ From: Jean Delvare <[email protected]> Date: Wed, 16 Jan 2019 09:04:55 +0100 Subject: dmidecode: Add "Logical non-volatile device" to the memory device types Git-commit: 74dfb854b8199ddb0a27e89296fa565f4706cb9d Patch-mainline: yes References: bsc#1120149 When adding support for non-volative memory, we forgot to add "Logical non-volatile device" to the list of memory types. This causes NVDIMM modules to show up as <OUT OF SPEC>. Fix the problem by adding the missing enumerated value. Signed-off-by: Jean Delvare <[email protected]> Reviewed-by: Jerry Hoemann <[email protected]> --- dmidecode.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -2469,10 +2469,11 @@ static const char *dmi_memory_device_typ "LPDDR", "LPDDR2", "LPDDR3", - "LPDDR4" /* 0x1E */ + "LPDDR4", + "Logical non-volatile device" /* 0x1F */ }; - if (code >= 0x01 && code <= 0x1E) + if (code >= 0x01 && code <= 0x1F) return type[code - 0x01]; return out_of_spec; }
