Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spice-up for openSUSE:Factory 
checked in at 2024-12-06 14:26:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spice-up (Old)
 and      /work/SRC/openSUSE:Factory/.spice-up.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spice-up"

Fri Dec  6 14:26:21 2024 rev:18 rq:1228625 version:1.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/spice-up/spice-up.changes        2022-03-01 
17:04:46.800352726 +0100
+++ /work/SRC/openSUSE:Factory/.spice-up.new.28523/spice-up.changes     
2024-12-06 14:26:33.104917043 +0100
@@ -1,0 +2,8 @@
+Mon Nov 18 19:59:24 UTC 2024 - Richard Rahl <[email protected]>
+
+- update spec file for Leap 16.0:
+  * remove recommending lang package
+  * use autosetup
+  * remove HiDPI workaround
+
+-------------------------------------------------------------------

Old:
----
  Spice-up-1.9.1.tar.gz

New:
----
  spice-up-1.9.1.tar.gz

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

Other differences:
------------------
++++++ spice-up.spec ++++++
--- /var/tmp/diff_new_pack.QaOJTD/_old  2024-12-06 14:26:33.924951461 +0100
+++ /var/tmp/diff_new_pack.QaOJTD/_new  2024-12-06 14:26:33.924951461 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package spice-up
 #
-# Copyright (c) 2022 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
@@ -16,14 +16,14 @@
 #
 
 
+%define         appid com.github.philip_scott.spice-up
 Name:           spice-up
 Version:        1.9.1
 Release:        0
 Summary:        Desktop presentation application
 License:        GPL-3.0-only
-Group:          Productivity/Office/Other
 URL:            https://github.com/Philip-Scott/Spice-up
-Source:         
https://github.com/Philip-Scott/Spice-up/archive/%{version}.tar.gz#/Spice-up-%{version}.tar.gz
+Source:         %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
@@ -38,7 +38,6 @@
 BuildRequires:  pkgconfig(json-glib-1.0)
 BuildRequires:  pkgconfig(libevdev)
 BuildRequires:  pkgconfig(libsoup-2.4)
-Recommends:     %{name}-lang
 
 %description
 Spice-up is a desktop presentation application
@@ -47,7 +46,7 @@
 %lang_package
 
 %prep
-%setup -q -n Spice-up-%{version}
+%autosetup -n Spice-up-%{version}
 
 %build
 %meson
@@ -55,30 +54,19 @@
 
 %install
 %meson_install
-%find_lang com.github.philip_scott.spice-up %{name}.lang
-%fdupes %{buildroot}/%{_datadir}
+%find_lang %{appid}
+%fdupes %{buildroot}
 
-# dirlist HiDPI icons (see: hicolor/index.theme)
-_dirlist=$PWD/dir.lst
-pushd %{buildroot}
-find ./ | while read _list; do
-    echo $_list | grep '[0-9]\@[0-9]' || continue
-    _path=$(echo $_list | sed 's/[^/]//')
-    if ! ls ${_path%/*}; then
-        grep -xqs "\%dir\ ${_path%/*}" $_dirlist || echo "%dir ${_path%/*}" >> 
$_dirlist
-    fi
-done
-popd
-
-%files -f dir.lst
+%files
 %license COPYING
 %doc README.md
-%{_bindir}/com.github.philip_scott.spice-up
-%{_datadir}/applications/com.github.philip_scott.spice-up.desktop
-%{_datadir}/glib-2.0/schemas/com.github.philip_scott.spice-up.gschema.xml
-%{_datadir}/icons/hicolor/*/*/*.??g
-%{_datadir}/metainfo/com.github.philip_scott.spice-up.appdata.xml
-%{_datadir}/mime/packages/com.github.philip_scott.spice-up.mime.xml
+%{_bindir}/%{appid}
+%{_datadir}/applications/%{appid}.desktop
+%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
+%{_datadir}/icons/hicolor/*/apps/%{appid}.svg
+%{_datadir}/metainfo/%{appid}.appdata.xml
+%{_datadir}/mime/packages/%{appid}.mime.xml
+%dir 
%{_datadir}/icons/hicolor/{128x128@2,128x128@2/apps,16x16@2,16x16@2/apps,24x24@2,24x24@2/apps,32x32@2,32x32@2/apps,48x48@2,48x48@2/apps,64x64@2,64x64@2/apps}
 
-%files lang -f %{name}.lang
+%files lang -f %{appid}.lang
 

Reply via email to