Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-2048 for openSUSE:Factory 
checked in at 2022-02-11 23:07:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-2048 (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-2048.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-2048"

Fri Feb 11 23:07:34 2022 rev:24 rq:953319 version:3.38.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-2048/gnome-2048.changes    2020-11-29 
12:27:10.997926626 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-2048.new.1956/gnome-2048.changes  
2022-02-11 23:09:07.370896224 +0100
@@ -1,0 +2,10 @@
+Thu Feb  3 05:16:45 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Add 21.patch: Fix build with meson 0.61 and newer.
+- Add desktop-file-utils and replace erronus appstream-glib-devel
+  with appstream-glib BuildRequires, and add a check section and
+  meson_test macro, run tests during build.
+- Drop update-desktop-files BuildRequires and macro, no longer
+  needed.
+
+-------------------------------------------------------------------

New:
----
  21.patch

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

Other differences:
------------------
++++++ gnome-2048.spec ++++++
--- /var/tmp/diff_new_pack.s7zKGO/_old  2022-02-11 23:09:08.438899313 +0100
+++ /var/tmp/diff_new_pack.s7zKGO/_new  2022-02-11 23:09:08.446899336 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnome-2048
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,12 +24,14 @@
 Group:          Amusements/Games/Board/Puzzle
 URL:            https://wiki.gnome.org/Apps/2048
 Source0:        
https://download.gnome.org/sources/gnome-2048/3.38/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM 21.patch -- Fix build with meson 0.61 and newer
+Patch0:         
https://gitlab.gnome.org/GNOME/gnome-2048/-/merge_requests/21.patch
 
-BuildRequires:  appstream-glib-devel
+BuildRequires:  appstream-glib
+BuildRequires:  desktop-file-utils
 BuildRequires:  itstool
 BuildRequires:  meson
 BuildRequires:  pkgconfig
-BuildRequires:  update-desktop-files
 BuildRequires:  vala >= 0.24.0
 BuildRequires:  pkgconfig(clutter-1.0) >= 1.12.0
 BuildRequires:  pkgconfig(clutter-gtk-1.0) >= 1.6.0
@@ -53,9 +55,11 @@
 
 %install
 %meson_install
-%suse_update_desktop_file org.gnome.TwentyFortyEight Games Amusement
 %find_lang %{name}
 
+%check
+%meson_test
+
 %files
 %license COPYING
 %{_bindir}/gnome-2048

++++++ 21.patch ++++++
>From 194e22699f7166a016cd39ba26dd719aeecfc868 Mon Sep 17 00:00:00 2001
From: Jan Beich <[email protected]>
Date: Sun, 23 Jan 2022 10:49:07 +0000
Subject: [PATCH] meson: drop unused argument for i18n.merge_file()

Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.

data/meson.build:19:0: ERROR: Function does not take positional arguments.
data/meson.build:39:0: ERROR: Function does not take positional arguments.
---
 data/meson.build | 2 --
 1 file changed, 2 deletions(-)

diff --git a/data/meson.build b/data/meson.build
index 33f73ca..8974a63 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -17,7 +17,6 @@ install_data(
 
 # Desktop file
 desktop_file = i18n.merge_file(
-  'desktop-file',
   input: 'org.gnome.TwentyFortyEight.desktop.in',
   output: 'org.gnome.TwentyFortyEight.desktop',
   install: true,
@@ -37,7 +36,6 @@ endif
 
 # AppData file
 appdata_file = i18n.merge_file(
-  'appdata-file',
   input: 'org.gnome.TwentyFortyEight.appdata.xml.in',
   output: 'org.gnome.TwentyFortyEight.appdata.xml',
   install: true,
-- 
GitLab

Reply via email to