Accepting request 291172 from GNOME:Next

- Add gdk-pixbuf-loader-rsvg Requires: needed, in order to be able
  to convert .svg icons to pixmaps.

- 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 <description> in
      releases.
    - Correctly load descriptions from <releases> 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.

OBS-URL: https://build.opensuse.org/request/show/291172
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=23
This commit is contained in:
Bjørn Lie 2015-03-17 13:09:04 +00:00 committed by Git OBS Bridge
parent 4f13d54d7a
commit 1312f66845
6 changed files with 52 additions and 9 deletions

View File

@ -2,9 +2,9 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
<param name="scm">git</param>
<param name="versionformat">0.3.4</param>
<param name="versionformat">0.3.5</param>
<param name="changesgenerate">enable</param>
<param name="revision">refs/tags/appstream_glib_0_3_4</param>
<param name="revision">refs/tags/appstream_glib_0_3_5</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
<param name="changesrevision">b0009f1670ce73796f5847018b4e2215a403b673</param></service></servicedata>
<param name="changesrevision">d080dd5c862e20559b1ac1529e2d3c96d7b50069</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da3fe473117c037c70760f89cc35317117bf3fb97eb29a904593ea63303f1b1b
size 2124372

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:230d04781b533cdc71ad6b9431f8a91c17f2e80a2080f45da24fb93f87ec527d
size 2144396

View File

@ -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 <description> in
releases.
- Correctly load descriptions from <releases> 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

View File

@ -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