Update to 3.24.2

This commit is contained in:
Kalev Lember 2017-05-09 23:14:20 +02:00
parent a0fe24526b
commit c13f468b2d
4 changed files with 7 additions and 34 deletions

1
.gitignore vendored
View File

@ -74,3 +74,4 @@
/gnome-software-3.23.92.tar.xz /gnome-software-3.23.92.tar.xz
/gnome-software-3.24.0.tar.xz /gnome-software-3.24.0.tar.xz
/gnome-software-3.24.1.tar.xz /gnome-software-3.24.1.tar.xz
/gnome-software-3.24.2.tar.xz

View File

@ -1,27 +0,0 @@
From e813ae525a536eb2f6765c8cfb975eb6ba10bdfe Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Thu, 13 Apr 2017 17:43:13 +0100
Subject: [PATCH] Do not abort if a page does not handle the reload vfunc
---
src/gs-page.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gs-page.c b/src/gs-page.c
index 6614eb46..818adf60 100644
--- a/src/gs-page.c
+++ b/src/gs-page.c
@@ -646,8 +646,8 @@ gs_page_reload (GsPage *page)
GsPageClass *klass;
g_return_if_fail (GS_IS_PAGE (page));
klass = GS_PAGE_GET_CLASS (page);
- g_assert (klass->reload != NULL);
- klass->reload (page);
+ if (klass->reload != NULL)
+ klass->reload (page);
}
gboolean
--
2.12.2

View File

@ -13,17 +13,13 @@
%bcond_without packagekit %bcond_without packagekit
Name: gnome-software Name: gnome-software
Version: 3.24.1 Version: 3.24.2
Release: 2%{?dist} Release: 1%{?dist}
Summary: A software center for GNOME Summary: A software center for GNOME
License: GPLv2+ License: GPLv2+
URL: https://wiki.gnome.org/Apps/Software URL: https://wiki.gnome.org/Apps/Software
Source0: https://download.gnome.org/sources/gnome-software/3.24/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gnome-software/3.24/%{name}-%{version}.tar.xz
# Backport from upstream master:
# https://git.gnome.org/browse/gnome-software/commit/?id=e813ae525a536eb2f6765c8cfb975eb6ba10bdfe
# Should fix RHBZ #1444669 / BGO #781217
Patch0: 0001-Do-not-abort-if-a-page-does-not-handle-the-reload-vf.patch
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libxslt BuildRequires: libxslt
@ -212,6 +208,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/gtk-doc/html/gnome-software %{_datadir}/gtk-doc/html/gnome-software
%changelog %changelog
* Tue May 09 2017 Kalev Lember <klember@redhat.com> - 3.24.2-1
- Update to 3.24.2
* Tue Apr 25 2017 Adam Williamson <awilliam@redhat.com> - 3.24.1-2 * Tue Apr 25 2017 Adam Williamson <awilliam@redhat.com> - 3.24.1-2
- Backport crasher fix from upstream (RHBZ #1444669 / BGO #781217) - Backport crasher fix from upstream (RHBZ #1444669 / BGO #781217)

View File

@ -1 +1 @@
SHA512 (gnome-software-3.24.1.tar.xz) = 28561627b95e8c572df92e2f06c3011b12b8b19ea7c566291f847bd3f3862bf4f2cfc38d871ed084e494abf258e0bafe040a01a282bae5d4c11f1aba23c1a1b8 SHA512 (gnome-software-3.24.2.tar.xz) = 894f02484f5b6f7ba272fe05b83688d9ebc0c48e3519e0f79768df030d8e25fcb65349bb732877ddc65e013474dc1fb4be2f5b15f2e070cda6671a4b651b66ef