Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2021-01-29 14:57:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "PackageKit" Fri Jan 29 14:57:03 2021 rev:212 rq:867217 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes 2020-12-30 17:12:22.296805109 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.28504/PackageKit.changes 2021-01-29 14:57:16.333524852 +0100 @@ -1,0 +2,12 @@ +Wed Jan 27 09:03:50 UTC 2021 - Jonathan Kang <songchuan.k...@suse.com> + +- Add PackageKit-zypp-reset-update-mode-after-get-updates.patch: + zypp: Reset update mode after getting updates + (gh#hughsie/PackageKit/commit#b208f551, bsc#1180150). + +------------------------------------------------------------------- +Tue Jan 19 21:16:33 UTC 2021 - Stasiek Michalski <stas...@michalski.cc> + +- Build command-not-found by default + +------------------------------------------------------------------- New: ---- PackageKit-zypp-reset-update-mode-after-get-updates.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit.spec ++++++ --- /var/tmp/diff_new_pack.TwObLo/_old 2021-01-29 14:57:17.633526765 +0100 +++ /var/tmp/diff_new_pack.TwObLo/_new 2021-01-29 14:57:17.637526771 +0100 @@ -16,8 +16,6 @@ # -%bcond_with cnf - %if 0%{?sle_version} %bcond_with offline_updates %else @@ -27,8 +25,10 @@ # Only make DNF backend available openSUSE Leap 15.1+ %if 0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550 %bcond_without dnf +%bcond_without cnf %else %bcond_with dnf +%bcond_with cnf %endif Name: PackageKit @@ -54,6 +54,8 @@ Patch4: PackageKit-zypp-cleanup-tmp-files.patch # PATCH-FIX-UPSTREAM PackageKit-fix-crash-pre-dbus.patch gh#hughsie/PackageKit!436 -- Do not crash when calling pk_dbus_get_uid() before D-Bus is setup Patch5: PackageKit-fix-crash-pre-dbus.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-reset-update-mode-after-get-updates.patch gh#hughsie/PackageKit/commit#b208f551 bsc#1180150 sck...@suse.com -- zypp: Reset update mode after getting updates +Patch6: PackageKit-zypp-reset-update-mode-after-get-updates.patch BuildRequires: fdupes BuildRequires: gcc-c++ @@ -131,6 +133,7 @@ Provides: %{name}-backend = %{version} Conflicts: %{name}-backend Supplements: (%{name} and dnf-conf and rpm-repos-openSUSE) +Suggests: PackageKit-command-not-found # Stricter dependency to keep things sane %requires_ge %(rpm -qf "$(readlink -f %{_libdir}/libdnf.so)") @@ -142,6 +145,23 @@ suck less. %endif +%if %{with cnf} +%package command-not-found +Summary: Command Not Found using PackageKit +License: GPL-2.0-or-later +Group: System/Daemons +Obsoletes: command-not-found +Provides: command-not-found +Conflicts: command-not-found +# zypp backend lacks full functionality for this to make sense +Conflicts: %{name}-backend-zypp + +%description command-not-found +The improved Command Not Found utility from the PackageKit utilities +suit, making it easier to install the software you need when you +need it. +%endif + %package gstreamer-plugin Summary: Install GStreamer codecs using PackageKit License: GPL-2.0-or-later @@ -357,17 +377,11 @@ %dir %{_usr}/lib/tmpfiles.d %{_datadir}/bash-completion/completions/pkcon %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf -%if %{with cnf} -%{_sysconfdir}/profile.d/PackageKit.sh -%endif %{_bindir}/pkcon %{_bindir}/pkmon %{_libdir}/packagekit-backend/libpk_backend_dummy.so %{_libexecdir}/packagekitd %{_libexecdir}/packagekit-direct -%if %{with cnf} -%{_libexecdir}/pk-command-not-found -%endif %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml %{_datadir}/PackageKit/pk-upgrade-distro.sh @@ -400,6 +414,13 @@ %{_libdir}/packagekit-backend/libpk_backend_dnf.so %endif +%if %{with cnf} +%files command-not-found +%{_sysconfdir}/profile.d/PackageKit.sh +%{_libexecdir}/pk-command-not-found +%config(noreplace) %{_sysconfdir}/PackageKit/CommandNotFound.conf +%endif + %files gstreamer-plugin %ghost %{_sysconfdir}/alternatives/gst-install-plugins-helper %{_libexecdir}/gst-install-plugins-helper @@ -441,9 +462,6 @@ %{_datadir}/vala/vapi/packagekit-glib2.deps %files branding-upstream -%if %{with cnf} -%config(noreplace) %{_sysconfdir}/PackageKit/CommandNotFound.conf -%endif %config(noreplace) %{_sysconfdir}/PackageKit/PackageKit.conf # This file should not be touched by users/admins, so we can replace it %{_sysconfdir}/PackageKit/Vendor.conf ++++++ PackageKit-zypp-reset-update-mode-after-get-updates.patch ++++++ >From 1989eb211f881f318b8c0cdf071dfdb3d6b6d784 Mon Sep 17 00:00:00 2001 From: Jonathan Kang <jonathank...@gnome.org> Date: Wed, 27 Jan 2021 16:17:36 +0800 Subject: [PATCH] zypp: Reset update mode after getting updates This fixes the issue that different list of updates were returned when checking for updates in Leap. https://bugzilla.opensuse.org/show_bug.cgi?id=1180150 --- backends/zypp/pk-backend-zypp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 9404abb1a..4941a6b86 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -1249,6 +1249,8 @@ zypp_get_package_updates (string repo, set<PoolItem> &pks) if (is_tumbleweed ()) { resolver->setUpgradeMode (FALSE); + } else { + resolver->setUpdateMode (FALSE); } } -- 2.29.2