New upstream release
This commit is contained in:
parent
6e9e783c30
commit
3219dc6b96
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||
|
||||
@ -1,29 +0,0 @@
|
||||
From efa74cb2b59071507e240b5aa89426269856c879 Mon Sep 17 00:00:00 2001
|
||||
From: Kalev Lember <klember@redhat.com>
|
||||
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 <summary> 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
|
||||
|
||||
@ -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 <richard@hughsie.com> 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 <releng@fedoraproject.org> - 0.6.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (appstream-glib-0.6.8.tar.xz) = dac9e0cc6dd8dfb81cbcdb6796d6890b61d5ede634cbe31768d1cf5746ada3beaf8b46918bab24e72604d52cbf6c6602efa6aedbdf9379f4c10528929f926fe5
|
||||
SHA512 (appstream-glib-0.6.9.tar.xz) = ca17804d8bff79115125f0aa1e2717b9f37072e04978f029a9521bcd6ce6d3c036dc05b6b2f511a8c9f08447cb26d4179aebdd0b3dd7e19b27348cc3b20c7c8d
|
||||
|
||||
Loading…
Reference in New Issue
Block a user