diff --git a/.gitignore b/.gitignore index af891d0..4e2322c 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,4 @@ /appstream-glib-0.6.5.tar.xz /appstream-glib-0.6.6.tar.xz /appstream-glib-0.6.7.tar.xz -/appstream-glib-0.6.8.tar.xz +/appstream-glib-0.6.9.tar.xz diff --git a/0001-Revert-Require-name-and-summary-for-validate-relax.patch b/0001-Revert-Require-name-and-summary-for-validate-relax.patch deleted file mode 100644 index 7182b9f..0000000 --- a/0001-Revert-Require-name-and-summary-for-validate-relax.patch +++ /dev/null @@ -1,29 +0,0 @@ -From efa74cb2b59071507e240b5aa89426269856c879 Mon Sep 17 00:00:00 2001 -From: Kalev Lember -Date: Fri, 3 Feb 2017 07:29:15 +0100 -Subject: [PATCH] Revert "Require name and summary for validate-relax" - -This made it too strict and started incorrectly failing apps that don't -have set in the appdata file and fall back to Comment in the -desktop file. - -This reverts commit 57e1575ebcf2c041071f32c2e79098c3f07c8987. ---- - libappstream-glib/as-app-validate.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c -index b72fda7..1fa435f 100644 ---- a/libappstream-glib/as-app-validate.c -+++ b/libappstream-glib/as-app-validate.c -@@ -1066,6 +1066,7 @@ as_app_validate (AsApp *app, AsAppValidateFlags flags, GError **error) - require_translation = FALSE; - switch (as_app_get_source_kind (app)) { - case AS_APP_SOURCE_KIND_METAINFO: -+ case AS_APP_SOURCE_KIND_APPDATA: - require_name = FALSE; - break; - default: --- -1.8.3.1 - diff --git a/libappstream-glib.spec b/libappstream-glib.spec index 7f3a1b0..59697d4 100644 --- a/libappstream-glib.spec +++ b/libappstream-glib.spec @@ -5,15 +5,12 @@ Summary: Library for AppStream metadata Name: libappstream-glib -Version: 0.6.8 -Release: 3%{?dist} +Version: 0.6.9 +Release: 1%{?dist} License: LGPLv2+ URL: http://people.freedesktop.org/~hughsient/appstream-glib/ Source0: http://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-%{version}.tar.xz -# Backported from upstream -Patch0: 0001-Revert-Require-name-and-summary-for-validate-relax.patch - BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: libtool BuildRequires: docbook-utils @@ -85,7 +82,6 @@ GLib headers and libraries for appstream-builder. %prep %setup -q -n appstream-glib-%{version} -%patch0 -p1 %build %configure \ @@ -154,6 +150,11 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir %changelog +* Mon Feb 27 2017 Richard Hughes 0.6.9-1 +- New upstream release +- Do not set the AsApp state using the AsRelease state +- Fail to validate if any release is in the future or in the wrong order + * Fri Feb 10 2017 Fedora Release Engineering - 0.6.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 1203086..78704d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (appstream-glib-0.6.8.tar.xz) = dac9e0cc6dd8dfb81cbcdb6796d6890b61d5ede634cbe31768d1cf5746ada3beaf8b46918bab24e72604d52cbf6c6602efa6aedbdf9379f4c10528929f926fe5 +SHA512 (appstream-glib-0.6.9.tar.xz) = ca17804d8bff79115125f0aa1e2717b9f37072e04978f029a9521bcd6ce6d3c036dc05b6b2f511a8c9f08447cb26d4179aebdd0b3dd7e19b27348cc3b20c7c8d