Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at Thu Feb 4 09:09:18 CET 2010. -------- --- PackageKit/PackageKit.changes 2009-12-06 10:38:30.000000000 +0100 +++ /mounts/work_src_done/STABLE/PackageKit/PackageKit.changes 2010-01-29 10:42:58.000000000 +0100 @@ -1,0 +2,8 @@ +Fri Jan 29 09:41:06 UTC 2010 - lslezak@suse.cz + +- enhanced libzypp-backend to save more attributes + (keeppackages, url and name), this is needed by WebYaST + Repository Manager module +- version 0.5.1-4 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- PackageKit-webyast.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit.spec ++++++ --- /var/tmp/diff_new_pack.xkzZc7/_old 2010-02-04 09:08:51.000000000 +0100 +++ /var/tmp/diff_new_pack.xkzZc7/_new 2010-02-04 09:08:51.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit (Version 0.5.1) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ Name: PackageKit Version: 0.5.1 -Release: 3 +Release: 4 License: GPLv2+ BuildRequires: NetworkManager-devel BuildRequires: dbus-1-glib-devel @@ -57,6 +57,7 @@ Patch3: PackageKit-force-pm-utils.patch # PATCH-FIX-UPSTREAM PackageKit-BNC543595.patch sreeves@novell.com -- install local files Patch4: PackageKit-BNC543595.patch +Patch5: PackageKit-webyast.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{name}-lang = %{version} PreReq: python-base = %{py_ver} @@ -170,6 +171,7 @@ %patch2 %patch3 -p1 %patch4 -p1 +%patch5 -p0 %build # uncomment out the following line if autotools should be run again (i.e., ++++++ PackageKit-webyast.patch ++++++ --- backends/zypp/pk-backend-zypp.cpp.orig 2010-01-28 13:09:55.000000000 +0100 +++ backends/zypp/pk-backend-zypp.cpp 2010-01-28 13:11:46.000000000 +0100 @@ -1699,6 +1699,27 @@ } manager.modifyRepository (repo_id, repo); + }else if (g_ascii_strcasecmp (parameter, "keep") == 0) { + repo = manager.getRepositoryInfo (repo_id); + + if (g_ascii_strcasecmp (value, "true") == 0) { + repo.setKeepPackages (TRUE); + }else if (g_ascii_strcasecmp (value, "false") == 0) { + repo.setKeepPackages (FALSE); + }else { + pk_backend_message (backend, PK_MESSAGE_ENUM_PARAMETER_INVALID, "Keep downloaded packages: Enter true or false"); + bReturn = FALSE; + } + + manager.modifyRepository (repo_id, repo); + }else if (g_ascii_strcasecmp (parameter, "url") == 0) { + repo = manager.getRepositoryInfo (repo_id); + repo.setBaseUrl (zypp::Url(value)); + manager.modifyRepository (repo_id, repo); + }else if (g_ascii_strcasecmp (parameter, "name") == 0) { + repo = manager.getRepositoryInfo (repo_id); + repo.setName(value); + manager.modifyRepository (repo_id, repo); }else if (g_ascii_strcasecmp (parameter, "prio") == 0) { repo = manager.getRepositoryInfo (repo_id); gint prio = 0; @@ -1732,7 +1753,7 @@ } } else { - pk_backend_error_code (backend, PK_ERROR_ENUM_NOT_SUPPORTED, "Valid parameters for set_repo_data are remove/add/refresh/prio"); + pk_backend_error_code (backend, PK_ERROR_ENUM_NOT_SUPPORTED, "Valid parameters for set_repo_data are remove/add/refresh/prio/keep/url/name"); bReturn = FALSE; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org