From 5085a09b3bd58295aadaafeb67dbd405663aa7609e4f66133041899d23a75362 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 18 Nov 2014 21:45:54 +0000 Subject: [PATCH] Accepting request 261762 from GNOME:Factory Push GNOME 3.14.2 OBS-URL: https://build.opensuse.org/request/show/261762 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=7 --- appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz | 3 --- appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz | 3 +++ appstream-glib.changes | 11 +++++++++++ appstream-glib.spec | 10 +++++++++- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz create mode 100644 appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz diff --git a/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz b/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz deleted file mode 100644 index 613b47c..0000000 --- a/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0bc97a925f3db50d63f3bee77acf43f9936c0d4b5b53ec77ee0843898e692aa3 -size 2112680 diff --git a/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz b/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz new file mode 100644 index 0000000..717e70a --- /dev/null +++ b/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aabc9d8764c841c5678da3743e6cce87d4ef3923c41e242ef733a92b19cf3509 +size 2114164 diff --git a/appstream-glib.changes b/appstream-glib.changes index 8205692..79082df 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Oct 31 16:46:45 UTC 2014 - dimstar@opensuse.org + +- Update to 0.3.1.git.20141031: + + Fix make check run in chroot. + + Merge appdata-validate. +- Enable make check. +- Obsolete and provide appdata-tools by the -devel package: + appdata-tools has been merged into appstream glib and the + resulting binary is shipped in our -devel package. + ------------------------------------------------------------------- Thu Oct 30 10:41:51 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index e598f18..374c881 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.1.git.20141030.7a5f76a +Version: 0.3.1.git.20141031.f9c620c Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -123,6 +123,9 @@ Requires: libappstream-builder7 = %{version} Requires: libappstream-glib7 = %{version} Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version} Requires: typelib-1_0-AppStreamGlib-1_0 = %{version} +# appdata-tools was consumed into appstream-glib and is no longer maintained upstream +Obsoletes: appdata-tools < 0.1.9 +Provides: appdata-tools = 0.1.9 %description devel This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. @@ -158,6 +161,9 @@ rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} +%check +make check + %post -n libappstream-glib7 -p /sbin/ldconfig %postun -n libappstream-glib7 -p /sbin/ldconfig @@ -196,6 +202,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %files devel %defattr(-,root,root) +%{_bindir}/appdata-validate +%{_datadir}/aclocal/appdata-xml.m4 %{_datadir}/aclocal/appstream-xml.m4 %{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir %{_datadir}/gir-1.0/AppStreamGlib-1.0.gir