From aa4fe64bd13eaa0aefb5408e5d2261297406b5ed102dd58ff13126efbe0283c1 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 18 Mar 2015 12:02:45 +0000 Subject: [PATCH] Accepting request 291176 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/291176 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=11 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.3.4.tar.xz | 3 --- appstream-glib-0.3.5.tar.xz | 3 +++ appstream-glib.changes | 32 ++++++++++++++++++++++++++++++++ appstream-glib.spec | 17 ++++++++++++++--- 6 files changed, 52 insertions(+), 9 deletions(-) delete mode 100644 appstream-glib-0.3.4.tar.xz create mode 100644 appstream-glib-0.3.5.tar.xz diff --git a/_service b/_service index 782a1b3..c73da79 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.3.4 + 0.3.5 enable - refs/tags/appstream_glib_0_3_4 + refs/tags/appstream_glib_0_3_5 *.tar diff --git a/_servicedata b/_servicedata index 219570f..0223b90 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - b0009f1670ce73796f5847018b4e2215a403b673 \ No newline at end of file + d080dd5c862e20559b1ac1529e2d3c96d7b50069 \ No newline at end of file diff --git a/appstream-glib-0.3.4.tar.xz b/appstream-glib-0.3.4.tar.xz deleted file mode 100644 index af927db..0000000 --- a/appstream-glib-0.3.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da3fe473117c037c70760f89cc35317117bf3fb97eb29a904593ea63303f1b1b -size 2124372 diff --git a/appstream-glib-0.3.5.tar.xz b/appstream-glib-0.3.5.tar.xz new file mode 100644 index 0000000..ded3879 --- /dev/null +++ b/appstream-glib-0.3.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:230d04781b533cdc71ad6b9431f8a91c17f2e80a2080f45da24fb93f87ec527d +size 2144396 diff --git a/appstream-glib.changes b/appstream-glib.changes index ac73ddd..4f59dbf 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Tue Mar 17 13:00:59 UTC 2015 - dimstar@opensuse.org + +- Add gdk-pixbuf-loader-rsvg Requires: needed, in order to be able + to convert .svg icons to pixmaps. + +------------------------------------------------------------------- +Fri Mar 13 07:48:02 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3.5: + + New Features: + - Add new API required for firmware support. + - Add new API required for OSTree and xdg-app support. + - Add 'news-to-appdata' and 'appdata-to-news' cmds to + appstream-util. + - Support all of the yet-unreleased AppStream 0.9 spec. + + Bugfixes: + - Add releases from the upstream AppData files. + - Allow short descriptions when validating in + releases. + - Correctly load descriptions from in AppData files. + - Fix a builder crash where a package depends on itself. + - Fix a crash when more than one thread tries to ensure the + same package. + - Fix DSO Linking error when built with --as-needed. + - Make the failed AppStream metadata optional. + - Make the icon tarball optional. + - Relax validation checks to allow empty release sections. + - Return the correct exit code from appstream-builder. +- Add gcab BuildRequires and Requires: needed for the cab + extraction of the new Firmware support. + ------------------------------------------------------------------- Wed Jan 28 10:32:30 UTC 2015 - opensuse-packaging@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 1ce7553..47f6948 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -1,7 +1,7 @@ # # spec file for package appstream-glib # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.4 +Version: 0.3.5 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -34,6 +34,7 @@ BuildRequires: gnome-common # We still need some part to build the man pages BuildRequires: xsltproc %endif +BuildRequires: gcab BuildRequires: gobject-introspection-devel BuildRequires: intltool >= 0.40.0 BuildRequires: libyaml-devel @@ -49,6 +50,9 @@ BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libsoup-2.4) >= 2.24 BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(sqlite3) +Requires: gcab +# Required in order to be able to convert .svg icons +Requires: gdk-pixbuf-loader-rsvg BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -164,7 +168,14 @@ find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %check -make check +if make check; then + echo CHECKS passed + exit 0 +else + echo CHECKS failed... dumping log file + cat libappstream-builder/test-suite.log + exit 1 +fi %post -n libappstream-glib7 -p /sbin/ldconfig