diff --git a/gnome-packagekit-3.32.0.tar.xz b/gnome-packagekit-3.32.0.tar.xz deleted file mode 100644 index 107be0a..0000000 Binary files a/gnome-packagekit-3.32.0.tar.xz and /dev/null differ diff --git a/gnome-packagekit-43.0.tar.xz b/gnome-packagekit-43.0.tar.xz new file mode 100644 index 0000000..068c58b Binary files /dev/null and b/gnome-packagekit-43.0.tar.xz differ diff --git a/gnome-packagekit.spec b/gnome-packagekit.spec index cdf671f..32fbb36 100644 --- a/gnome-packagekit.spec +++ b/gnome-packagekit.spec @@ -1,11 +1,12 @@ Name: gnome-packagekit -Version: 3.32.0 +Version: 43.0 Release: 1 Summary: Allows the session user to manage packages in a secure way License: GPLv2+ URL: http://www.packagekit.org -Source0: http://download.gnome.org/sources/gnome-packagekit/3.32/%{name}-%{version}.tar.xz +Source0: http://download.gnome.org/sources/gnome-packagekit/43/%{name}-%{version}.tar.xz +Patch0: remove-icon-for-critical-updates.patch BuildRequires: glib2-devel >= 2.25.8 BuildRequires: gtk3-devel @@ -70,6 +71,7 @@ without rebooting. %prep %setup -q +%patch 0 -p1 %build %meson @@ -88,7 +90,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gpk-install-local-file.desktop %files common -f %{name}.lang %license COPYING -%doc AUTHORS README +%doc AUTHORS README.md %{_bindir}/gpk-log %{_bindir}/gpk-prefs %dir %{_datadir}/gnome-packagekit @@ -109,18 +111,21 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gpk-install-local-file.desktop %files installer %{_bindir}/gpk-application %{_datadir}/applications/org.gnome.Packages.desktop -%{_datadir}/metainfo/org.gnome.Packages.appdata.xml +%{_datadir}/metainfo/org.gnome.Packages.metainfo.xml %{_mandir}/man1/gpk-application.1* %files updater %{_bindir}/gpk-update-viewer %{_datadir}/applications/org.gnome.PackageUpdater.desktop -%{_datadir}/metainfo/org.gnome.PackageUpdater.appdata.xml +%{_datadir}/metainfo/org.gnome.PackageUpdater.metainfo.xml %{_mandir}/man1/gpk-update-viewer.1* %changelog +* Fri Oct 20 2023 Ge Wang - 43.0-1 +- Update to 43.0 + * Thu Jun 30 2022 liqiuyu - 3.32.0-1 - update to 3.32 * Fri Nov 22 2019 sunguoshuai - 3.30.0-2 -- Package init. \ No newline at end of file +- Package init. diff --git a/remove-icon-for-critical-updates.patch b/remove-icon-for-critical-updates.patch new file mode 100644 index 0000000..79282b0 --- /dev/null +++ b/remove-icon-for-critical-updates.patch @@ -0,0 +1,38 @@ +From b1c03f304fef7c876be6c913630a2a36b14008d1 Mon Sep 17 00:00:00 2001 +From: wang--ge +Date: Fri, 20 Oct 2023 11:41:21 +0800 +Subject: [PATCH] remove icon for critical updates + +--- + src/gpk-enum.c | 1 - + src/gpk-self-test.c | 2 +- + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/gpk-enum.c b/src/gpk-enum.c +index ba8a8cc..7dfaa03 100644 +--- a/src/gpk-enum.c ++++ b/src/gpk-enum.c +@@ -36,7 +36,6 @@ static const PkEnumMatch enum_info_icon_name[] = { + {PK_INFO_ENUM_LOW, "pk-update-low"}, + {PK_INFO_ENUM_NORMAL, "pk-update-normal"}, + {PK_INFO_ENUM_IMPORTANT, "pk-update-high"}, +- {PK_INFO_ENUM_CRITICAL, "pk-update-security"}, + {PK_INFO_ENUM_SECURITY, "pk-update-security"}, + {PK_INFO_ENUM_BUGFIX, "pk-update-bugfix"}, + {PK_INFO_ENUM_ENHANCEMENT, "pk-update-enhancement"}, +diff --git a/src/gpk-self-test.c b/src/gpk-self-test.c +index 5f83296..60a1923 100644 +--- a/src/gpk-self-test.c ++++ b/src/gpk-self-test.c +@@ -55,7 +55,7 @@ gpk_test_enum_func (void) + for (i = PK_INFO_ENUM_UNKNOWN+1; i < PK_INFO_ENUM_LAST; i++) { + string = gpk_info_enum_to_icon_name (i); + if (string == NULL || g_strcmp0 (string, "help-browser") == 0) { +- g_warning ("failed to get %s (got %s instead)", pk_info_enum_to_string (i), string); ++ g_warning ("failed to get %s", pk_info_enum_to_string (i)); + break; + } + } +-- +2.33.0 +