Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package AppStream for openSUSE:Factory 
checked in at 2023-06-19 22:50:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/AppStream (Old)
 and      /work/SRC/openSUSE:Factory/.AppStream.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "AppStream"

Mon Jun 19 22:50:06 2023 rev:36 rq:1093668 version:0.16.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/AppStream/AppStream.changes      2023-05-23 
14:53:33.822135344 +0200
+++ /work/SRC/openSUSE:Factory/.AppStream.new.15902/AppStream.changes   
2023-06-19 22:50:11.957434578 +0200
@@ -1,0 +2,23 @@
+Fri Jun  2 06:19:52 UTC 2023 - Christophe Marin <christo...@krop.fr>
+
+- Update to 0.16.2:
+  Features:
+  * Add API for asking whether the pool is empty
+  * Add DDE to known desktop-environment list
+  * validator: Check if Release Description is inside description tag
+  * Make AppStream use BCP47 for locale in XML data
+  Bugfixes:
+  * Add missing standard::is-hidden attribute to file search enumerator
+  * spdx: Accept brackets in spdx license expression check
+  * introspection: Bring back AS_FORMAT_STYLE_COLLECTION into its enum
+  * compose: Fix crash in asc_l10n_search_translations_qt()
+  * compose: Set lower-cased CID for synthesized components again
+  * Don't crash when non-YAML documents are read as YAML
+  Miscellaneous:
+  * sanitizers: Allow null-dereference check again
+- Drop patch, merged upstream:
+  * bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch
+- Add upstream change:
+  * 0001-Do-not-override-default-priority-when-parsing-multip.patch
+
+-------------------------------------------------------------------

Old:
----
  AppStream-0.16.1.tar.xz
  AppStream-0.16.1.tar.xz.asc
  bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch

New:
----
  0001-Do-not-override-default-priority-when-parsing-multip.patch
  AppStream-0.16.2.tar.xz
  AppStream-0.16.2.tar.xz.asc

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

Other differences:
------------------
++++++ AppStream.spec ++++++
--- /var/tmp/diff_new_pack.8hiFUp/_old  2023-06-19 22:50:13.217441956 +0200
+++ /var/tmp/diff_new_pack.8hiFUp/_new  2023-06-19 22:50:13.221441980 +0200
@@ -23,7 +23,7 @@
 %bcond_without vala
 %endif
 Name:           AppStream
-Version:        0.16.1
+Version:        0.16.2
 Release:        0
 Summary:        Tools and libraries to work with AppStream metadata
 License:        LGPL-2.1-or-later
@@ -33,7 +33,8 @@
 Source1:        
http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz.asc
 Source2:        %{name}.keyring
 Patch0:         support-meson0.59.patch
-Patch1:         
https://github.com/ximion/appstream/commit/bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Do-not-override-default-priority-when-parsing-multip.patch
 BuildRequires:  cairo-devel
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  gdk-pixbuf-loader-rsvg

++++++ 0001-Do-not-override-default-priority-when-parsing-multip.patch ++++++
>From aba40b41f9deb56ca533af0900c8ecc77835d468 Mon Sep 17 00:00:00 2001
From: Matthias Klumpp <matth...@tenstral.net>
Date: Sat, 17 Jun 2023 19:15:39 +0200
Subject: [PATCH] Do not override default-priority when parsing multiple
 metadata files

The default priority should not be changed when a XML/YAML file is
parsed, because otherwise it will be applied to all subsequently parsed
files if those do not set a priority. This leads to merges being applied
in the wrong order.

Resolves: #495
---
 src/as-metadata.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/as-metadata.c b/src/as-metadata.c
index 5df20f2..da27632 100644
--- a/src/as-metadata.c
+++ b/src/as-metadata.c
@@ -213,10 +213,9 @@ as_metadata_xml_parse_components_node (AsMetadata *metad, 
AsContext *context, xm
        /* catalog metadata allows setting a priority for components */
        priority_str = as_xml_get_prop_value (node, "priority");
        if (priority_str != NULL) {
-               gint default_priority;
-               default_priority = g_ascii_strtoll (priority_str, NULL, 10);
-               as_context_set_priority (context, default_priority);
-               priv->default_priority = default_priority;
+               gint priority;
+               priority = g_ascii_strtoll (priority_str, NULL, 10);
+               as_context_set_priority (context, priority);
        }
        g_free (priority_str);
 
@@ -354,7 +353,6 @@ as_metadata_yaml_parse_catalog_doc (AsMetadata *metad, 
AsContext *context, const
                                                if (value != NULL) {
                                                        gint priority = 
g_ascii_strtoll (value, NULL, 10);
                                                        as_context_set_priority 
(context, priority);
-                                                       priv->default_priority 
= priority;
                                                }
                                        } else if (g_strcmp0 (key, 
"MediaBaseUrl") == 0) {
                                                if (value != NULL &&
-- 
2.41.0


++++++ AppStream-0.16.1.tar.xz -> AppStream-0.16.2.tar.xz ++++++
++++ 9837 lines of diff (skipped)

Reply via email to