File 0008-bmc-17596-meego-PackageKit-hangs-during-some-transac.patch of Package PackageKit.import5521

From b8d9fec8c8951f2b1da53c40db9d00e500388474 Mon Sep 17 00:00:00 2001
From: Duncan Mac-Vicar P <dmacvicar@suse.de>
Date: Mon, 10 Oct 2011 13:58:55 +0200
Subject: [PATCH 8/8] bmc#17596 (meego) - PackageKit hangs during some
 transactions (edit)

---
 backends/zypp/zypp-events.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/backends/zypp/zypp-events.h b/backends/zypp/zypp-events.h
index 5877f8d..0ea0dd6 100644
--- a/backends/zypp/zypp-events.h
+++ b/backends/zypp/zypp-events.h
@@ -303,7 +303,7 @@ struct DownloadProgressReportReceiver : public zypp::callback::ReceiveReport<zyp
 	virtual void start (const zypp::Url &file, zypp::Pathname localfile)
 	{
 		clear_package_id ();
-		_package_id = build_package_id_from_url (&file);
+    _package_id = g_strdup (zypp::Pathname (file.getPathName ()).basename ().c_str());
 
 		//g_debug ("DownloadProgressReportReceiver::start():%s --%s\n",
 		//		g_strdup (file.asString().c_str()),	g_strdup (localfile.asString().c_str()) );
-- 
1.7.6.4