Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lshw for openSUSE:Factory checked in 
at 2026-06-02 16:01:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lshw (Old)
 and      /work/SRC/openSUSE:Factory/.lshw.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lshw"

Tue Jun  2 16:01:34 2026 rev:34 rq:1356411 version:B.02.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/lshw/lshw.changes        2024-11-28 
22:42:50.610194897 +0100
+++ /work/SRC/openSUSE:Factory/.lshw.new.1937/lshw.changes      2026-06-02 
16:02:03.297295578 +0200
@@ -1,0 +2,15 @@
+Mon Jun  1 16:24:15 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Spec cleanup:
+  * Stop using the deprecated %suse_update_desktop_file macro;
+    set Categories directly in lshw.desktop.in and drop the
+    update-desktop-files BuildRequires
+  * Drop the unneeded hicolor-icon-theme dependency from the GUI
+    subpackage (its icon goes to %{_datadir}/pixmaps, not a
+    hicolor theme dir)
+  * Drop the stale Requires(post)/Requires(postun) scriptlet
+    dependencies (there are no such scriptlets; file triggers
+    refresh the desktop/icon caches)
+  * Add the explicit make BuildRequires and drop obsolete Group
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ lshw.spec ++++++
--- /var/tmp/diff_new_pack.YG6fap/_old  2026-06-02 16:02:05.093370078 +0200
+++ /var/tmp/diff_new_pack.YG6fap/_new  2026-06-02 16:02:05.093370078 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lshw
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2013 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -27,10 +27,9 @@
 Source1:        lshw.desktop.in
 Source2:        lshw.png
 BuildRequires:  gcc-c++
-BuildRequires:  hicolor-icon-theme
 BuildRequires:  libpng-devel
+BuildRequires:  make
 BuildRequires:  pkgconfig
-BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(gtk+-3.0)
 Recommends:     hwdata
 %lang_package
@@ -50,13 +49,7 @@
 
 %package gui
 Summary:        HardWare LiSter (GUI Frontend)
-Group:          Hardware/Other
 Requires:       %{name} = %{version}-%{release}
-Requires:       hicolor-icon-theme
-Requires(post): hicolor-icon-theme
-Requires(post): update-desktop-files
-Requires(postun): hicolor-icon-theme
-Requires(postun): update-desktop-files
 
 %description gui
 lshw (Hardware Lister) is a small tool to provide detailed informaton on the
@@ -76,7 +69,8 @@
 %autosetup
 
 %build
-
+# the "all" and "gui" targets race on the shared liblshw.a (gui links
+# -llshw mid-ar), so build serially
 %make_build \
   SBINDIR="%{_sbindir}" \
   RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing" \
@@ -95,7 +89,6 @@
 install -D -p -m 0644 %{SOURCE2} \
   %{buildroot}%{_datadir}/pixmaps/%{name}.png
 
-%suse_update_desktop_file -r "%{name}" System HardwareSettings
 # All of following are shipped by other packages as well
 rm -f %{buildroot}%{_datadir}/%{name}/pci.ids
 rm -f %{buildroot}%{_datadir}/%{name}/usb.ids

++++++ lshw.desktop.in ++++++
--- /var/tmp/diff_new_pack.YG6fap/_old  2026-06-02 16:02:05.205374724 +0200
+++ /var/tmp/diff_new_pack.YG6fap/_new  2026-06-02 16:02:05.213375056 +0200
@@ -1,5 +1,5 @@
 [Desktop Entry]
-Categories=
+Categories=System;HardwareSettings;
 Encoding=UTF-8
 Terminal=false
 Icon=lshw

Reply via email to