Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-12-05 20:36:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "PackageKit" Sat Dec 5 20:36:16 2020 rev:210 rq:852650 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes 2020-11-29 12:23:59.837733282 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.5913/PackageKit.changes 2020-12-05 20:37:08.470706262 +0100 @@ -1,0 +2,7 @@ +Wed Dec 2 07:24:08 UTC 2020 - Jonathan Kang <[email protected]> + +- Add PackageKit-zypp-cleanup-tmp-files.patch: Revert "Revert + "zypp: Clean up temporary files when PK quits"" + (bsc#1169739 gh#hughsie/PackageKit/commit#cf73b01a). + +------------------------------------------------------------------- New: ---- PackageKit-zypp-cleanup-tmp-files.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit.spec ++++++ --- /var/tmp/diff_new_pack.EvycWE/_old 2020-12-05 20:37:09.254707057 +0100 +++ /var/tmp/diff_new_pack.EvycWE/_new 2020-12-05 20:37:09.258707061 +0100 @@ -50,6 +50,8 @@ Patch2: PackageKit-remove-polkit-rules.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch [email protected] -- Band-aid to deal with OBS producing differently named appstream repodata files Patch3: PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-cleanup-tmp-files.patch bsc#1169739 gh#hughsie/PackageKit/commit#cf73b01a [email protected] -- Revert "Revert "zypp: Clean up temporary files when PK quits"" +Patch4: PackageKit-zypp-cleanup-tmp-files.patch BuildRequires: fdupes BuildRequires: gcc-c++ ++++++ PackageKit-zypp-cleanup-tmp-files.patch ++++++ From ff092d0e5742f02ab1aeeafefeaaa558d32ab0b0 Mon Sep 17 00:00:00 2001 From: Jonathan Kang <[email protected]> Date: Tue, 1 Dec 2020 16:18:12 +0800 Subject: [PATCH] Revert "Revert "zypp: Clean up temporary files when PK quits"" packagekitd.service will be stopped on system shutdown and by manually doing so. Thus the main process will be killed eventually and we have to manually clean those tmporary libzypp files. This reverts commit d8dd484ddfcea4750495fa92dcd2f580149432e7. https://bugzilla.opensuse.org/show_bug.cgi?id=1169739 --- 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 b1ce76915..9404abb1a 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -1840,6 +1840,8 @@ pk_backend_destroy (PkBackend *backend) { g_debug ("zypp_backend_destroy"); + filesystem::recursive_rmdir (zypp::myTmpDir ()); + g_free (_repoName); delete priv; } -- 2.26.2 _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
