Resolves: #1995817 (gs-updates-section: Check also dependencies' download size)
This commit is contained in:
parent
94b79ff886
commit
4ba65e69d0
@ -12,7 +12,7 @@
|
||||
|
||||
Name: gnome-software
|
||||
Version: 41~beta
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A software center for GNOME
|
||||
|
||||
License: GPLv2+
|
||||
@ -20,6 +20,7 @@ URL: https://wiki.gnome.org/Apps/Software
|
||||
Source0: https://download.gnome.org/sources/gnome-software/41/%{name}-%{tarball_version}.tar.xz
|
||||
|
||||
Patch01: 0001-crash-with-broken-theme.patch
|
||||
Patch02: rhbug1995817-fix-updates-page-button.patch
|
||||
|
||||
BuildRequires: appstream-devel >= %{appstream_version}
|
||||
BuildRequires: gcc
|
||||
@ -198,6 +199,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/gtk-doc/html/gnome-software
|
||||
|
||||
%changelog
|
||||
* Wed Sep 01 2021 Milan Crha <mcrha@redhat.com> - 41~beta-3
|
||||
- Resolves: #1995817 (gs-updates-section: Check also dependencies' download size)
|
||||
|
||||
* Tue Aug 24 2021 Kalev Lember <klember@redhat.com> - 41~beta-2
|
||||
- Enable parental controls support
|
||||
|
||||
|
14
rhbug1995817-fix-updates-page-button.patch
Normal file
14
rhbug1995817-fix-updates-page-button.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/src/gs-updates-section.c b/src/gs-updates-section.c
|
||||
index 0f41ba66..fa050513 100644
|
||||
--- a/src/gs-updates-section.c
|
||||
+++ b/src/gs-updates-section.c
|
||||
@@ -293,6 +293,9 @@ _all_offline_updates_downloaded (GsUpdatesSection *self)
|
||||
guint64 size = gs_app_get_size_download (app);
|
||||
if (size != 0)
|
||||
return FALSE;
|
||||
+ size = gs_app_get_size_download_dependencies (app);
|
||||
+ if (size != 0)
|
||||
+ return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
Loading…
Reference in New Issue
Block a user