Hello community, here is the log from the commit of package gnome-packagekit for openSUSE:Factory checked in at Sat Oct 3 03:31:59 CEST 2009. -------- --- GNOME/gnome-packagekit/gnome-packagekit.changes 2009-09-25 19:48:59.000000000 +0200 +++ gnome-packagekit/gnome-packagekit.changes 2009-09-30 09:01:51.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Sep 30 06:57:15 UTC 2009 - sreeves@novell.com + +- Fix for bnc#542819 - update dependencies failure + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gnome-packagekit-BNC542819.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-packagekit.spec ++++++ --- /var/tmp/diff_new_pack.c1DlzW/_old 2009-10-03 03:31:47.000000000 +0200 +++ /var/tmp/diff_new_pack.c1DlzW/_new 2009-10-03 03:31:47.000000000 +0200 @@ -20,7 +20,7 @@ Name: gnome-packagekit Url: http://packagekit.org/ Version: 2.27.92 -Release: 2 +Release: 3 License: GPL v2 or later Source: %{name}-%{version}.tar.bz2 Patch1: gnome-packagekit_release.patch @@ -28,6 +28,8 @@ Patch3: gnome-packagekit-fate302445.patch Patch5: gnome-packagekit-BNC383261.patch Patch6: gnome-packagekit-BNC538353.patch +#PATCH-FEATURE-OPENSUSE gnome-packagekit-BNC542819.patch sreeves@novell.com -- SUSE updates are patch based, don't try and get dependencies. +Patch7: gnome-packagekit-BNC542819.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: DeviceKit-power-devel BuildRequires: PackageKit-devel @@ -76,6 +78,7 @@ %patch3 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build #autoreconf -f -i ++++++ gnome-packagekit-BNC542819.patch ++++++ Index: gnome-packagekit-2.27.92/src/gpk-update-viewer.c =================================================================== --- gnome-packagekit-2.27.92.orig/src/gpk-update-viewer.c +++ gnome-packagekit-2.27.92/src/gpk-update-viewer.c @@ -432,13 +432,14 @@ gpk_update_viewer_button_install_cb (Gtk install_package_ids = g_strdupv (package_ids); /* get packages that also have to be updated */ -#if PK_CHECK_VERSION(0,5,2) - ret = pk_client_simulate_update_packages (client_primary, package_ids, &error); + /* don't try to get dependencies for patches - bnc#542819 */ +#if PK_CHECK_VERSION(0,5,0) + ret = pk_client_update_packages (client_primary, TRUE, package_ids, &error); #else - ret = pk_client_get_depends (client_primary, pk_bitfield_value (PK_FILTER_ENUM_NOT_INSTALLED), package_ids, TRUE, &error); + ret = pk_client_update_packages (client_primary, package_ids, &error); #endif if (!ret) { - egg_warning ("cannot get depends for updates: %s", error->message); + egg_warning ("update failed: %s", error->message); g_error_free (error); goto out; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org