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-01-14 20:31:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/AppStream (Old)
 and      /work/SRC/openSUSE:Factory/.AppStream.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "AppStream"

Sat Jan 14 20:31:27 2023 rev:31 rq:1058216 version:0.15.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/AppStream/AppStream.changes      2022-09-04 
22:11:25.096224262 +0200
+++ /work/SRC/openSUSE:Factory/.AppStream.new.32243/AppStream.changes   
2023-01-14 20:31:47.133236890 +0100
@@ -1,0 +2,49 @@
+Thu Jan 12 07:53:52 UTC 2023 - Antonio Larrosa <[email protected]>
+
+- Update to version 0.15.6:
+  * Features:
+    + qt: Add API for ContentRating descriptions and ratingIds
+    + Add some coccinelle semantic patches for common style issues
+    + compose: Allow building without SVG support (for bootstrap only)
+    + validator:
+      - Check for nodes that are text nodes even though they shouldn't be
+      - Extend validation for custom tag
+      - Improve Screenshot validation
+  * Specification:
+    + docs: Fix typos in <extends> documentation
+  * Bugfixes:
+    + validator:
+      - internat: Don't allow bandwidth_mbitps when value is offline-only
+      - Fix timestamp validation
+      - Allow release descriptions to start with punctuation
+    + compose:
+      - Only add no-metainfo tag if component isn't already ignored
+      - Show better error in AscImage if compose was build without rsvg
+    + Add a hack to clarify proper PtrArray element ownership for language 
bindings
+    + qt:
+      - Port away from deprecated QDateTime API
+      - Deprecate Component::requires
+      - Fix warning
+      - Fix stringListToCharArray and Pool::componentsByCategories
+      - Port away from deprecated foreach
+    + as-review:
+      - Add a typedef for property enums
+      - Install properties at once rather than individually
+      - Specify G_PARAM_STATIC_STRINGS for properties
+      - Emit GObject::notify on property value changes
+      - Add missing property for as_review_{get,set}_priority()
+    + ascli: fix NULL pointer dereference
+  * Miscellaneous:
+    + docs: Split releases specification into its own section
+    + style: Make code easier to read by using helper macros in all places
+    + Make some compiler warnings fatal unconditionally
+- Add patch to support meson 0.59 which is the only version available
+  in SLE 15 SP5:
+  * support-meson0.59.patch
+
+-------------------------------------------------------------------
+Wed Sep 14 13:25:20 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Don't use %ldconfig_scriptlets. Leap 15.3 doesn't understand it.
+
+-------------------------------------------------------------------

Old:
----
  AppStream-0.15.5.tar.xz
  AppStream-0.15.5.tar.xz.asc

New:
----
  AppStream-0.15.6.tar.xz
  AppStream-0.15.6.tar.xz.asc
  support-meson0.59.patch

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

Other differences:
------------------
++++++ AppStream.spec ++++++
--- /var/tmp/diff_new_pack.8HVYH8/_old  2023-01-14 20:31:47.701240245 +0100
+++ /var/tmp/diff_new_pack.8HVYH8/_new  2023-01-14 20:31:47.709240292 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package AppStream
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %bcond_without vala
 %endif
 Name:           AppStream
-Version:        0.15.5
+Version:        0.15.6
 Release:        0
 Summary:        Tools and libraries to work with AppStream metadata
 License:        LGPL-2.1-or-later
@@ -31,11 +31,12 @@
 Source0:        
http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz
 Source1:        
http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz.asc
 Source2:        %{name}.keyring
+Patch0:         support-meson0.59.patch
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  gettext
 BuildRequires:  gperf
 BuildRequires:  itstool
-BuildRequires:  meson >= 0.62
+BuildRequires:  meson >= 0.59
 BuildRequires:  pkgconfig
 BuildRequires:  xsltproc
 BuildRequires:  pkgconfig(Qt5Core)
@@ -144,8 +145,10 @@
 
 %find_lang appstream %{name}.lang
 
-%ldconfig_scriptlets -n libappstream%{libappstream_sover}
-%ldconfig_scriptlets -n libAppStreamQt%{libAppStreamQt_sover}
+%post -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig
+%post -n libappstream%{libappstream_sover} -p /sbin/ldconfig
+%postun -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig
+%postun -n libappstream%{libappstream_sover} -p /sbin/ldconfig
 
 %files lang -f %{name}.lang
 

++++++ AppStream-0.15.5.tar.xz -> AppStream-0.15.6.tar.xz ++++++
++++ 88115 lines of diff (skipped)


++++++ support-meson0.59.patch ++++++
Index: AppStream-0.15.6/meson.build
===================================================================
--- AppStream-0.15.6.orig/meson.build
+++ AppStream-0.15.6/meson.build
@@ -1,5 +1,5 @@
 project('AppStream', 'c',
-  meson_version: '>=0.62',
+  meson_version: '>=0.59',
   default_options: ['c_std=c11', 'cpp_std=gnu++14'],
 
   license: 'LGPL-2.1+',
@@ -112,6 +112,7 @@ add_project_arguments(
     '-Werror=missing-include-dirs',
     '-Werror=declaration-after-statement',
     '-Werror=format-security',
+    '-Werror=format',
 
     '-Wno-missing-field-initializers',
     '-Wno-error=missing-field-initializers',
@@ -130,6 +131,7 @@ add_project_arguments(
   '-Werror=return-type',
   '-Werror=misleading-indentation',
   '-Werror=format-security',
+  '-Werror=format',
   language: 'cpp'
 )
 add_project_arguments('-DAS_COMPILATION', language: 'c')
Index: AppStream-0.15.6/po/meson.build
===================================================================
--- AppStream-0.15.6.orig/po/meson.build
+++ AppStream-0.15.6/po/meson.build
@@ -1,5 +1,20 @@
 
 as_gettext_domain = 'appstream'
+
+if meson.version().version_compare('<0.62')
+i18n.gettext(as_gettext_domain,
+    preset : 'glib',
+    data_dirs: [join_paths(source_root, 'data')],
+    args: [
+        '--default-domain=' + as_gettext_domain,
+        '--from-code=UTF-8',
+        '-i', '-F', '-c', '--no-wrap',
+        '--package-name=' + as_gettext_domain,
+        '--copyright-holder=Matthias Klumpp',
+        '[email protected]'
+    ]
+)
+else
 i18n_result = i18n.gettext(as_gettext_domain,
     preset : 'glib',
     data_dirs: [join_paths(source_root, 'data')],
@@ -12,6 +27,7 @@ i18n_result = i18n.gettext(as_gettext_do
         '[email protected]'
     ]
 )
+endif
 
 run_target ('make-linguas',
     command: ['sh',
Index: AppStream-0.15.6/data/meson.build
===================================================================
--- AppStream-0.15.6.orig/data/meson.build
+++ AppStream-0.15.6/data/meson.build
@@ -17,6 +17,18 @@ metainfo_with_relinfo = custom_target('g
     command : [ascli_exe, 'news-to-metainfo', '--limit=6', '@INPUT0@', 
'@INPUT1@', '@OUTPUT@']
 )
 
+    # generates XML with mangled description markup tags, but better than 
nothing...
+if meson.version().version_compare('<0.62')
+metainfo_i18n = i18n.merge_file (
+    input:  metainfo_with_relinfo,
+    output: 'org.freedesktop.appstream.cli.metainfo.xml',
+    type: 'xml',
+    data_dirs: [meson.current_source_dir()],
+    po_dir: join_paths (source_root, 'po'),
+    install: true,
+    install_dir: metainfo_dir
+)
+else
 metainfo_i18n = i18n.itstool_join(
     input:  metainfo_with_relinfo,
     output: 'org.freedesktop.appstream.cli.metainfo.xml',
@@ -25,6 +37,7 @@ metainfo_i18n = i18n.itstool_join(
     install: true,
     install_dir: metainfo_dir,
 )
+endif
 
 test('as-validate_metainfo.cli',
     ascli_exe,

Reply via email to