rpms/PackageKit/devel pk-fix-yum-error-name.patch, NONE, 1.1 PackageKit.spec, 1.59, 1.60
Richard Hughes
rhughes at fedoraproject.org
Tue Sep 23 13:50:40 UTC 2008
Author: rhughes
Update of /cvs/pkgs/rpms/PackageKit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16718
Modified Files:
PackageKit.spec
Added Files:
pk-fix-yum-error-name.patch
Log Message:
* Tue Sep 23 2008 Richard Hughes <rhughes at redhat.com> - 0.3.4-4
- Fix the error dialog when no mirrors are found
pk-fix-yum-error-name.patch:
--- NEW FILE pk-fix-yum-error-name.patch ---
commit 16bea44b16fd8b1ac36cc5939caf1017eece12eb
Author: Richard Hughes <richard at hughsie.com>
Date: Tue Sep 23 14:43:31 2008 +0100
yum: fix the name of the enum when no mirrors are found
diff --git a/backends/yum/yumBackend.py b/backends/yum/yumBackend.py
index b445e0d..8a29917 100755
--- a/backends/yum/yumBackend.py
+++ b/backends/yum/yumBackend.py
@@ -915,7 +915,7 @@ class PackageKitYumBackend(PackageKitBaseBackend,PackagekitPackage):
except yum.Errors.RepoError,e:
message = self._format_msgs(e.value)
if message.find ("No more mirrors to try") != -1:
- self.error(ERROR_FILE_NO_MORE_MIRRORS_TO_TRY,message)
+ self.error(ERROR_NO_MORE_MIRRORS_TO_TRY,message)
else:
self.error(ERROR_REPO_CONFIGURATION_ERROR,message)
except yum.Errors.YumBaseError,e:
Index: PackageKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PackageKit/devel/PackageKit.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- PackageKit.spec 23 Sep 2008 11:20:27 -0000 1.59
+++ PackageKit.spec 23 Sep 2008 13:50:10 -0000 1.60
@@ -8,7 +8,7 @@
Summary: System daemon that is a DBUS abstraction layer for package management
Name: PackageKit
Version: 0.3.4
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://packagekit.freedesktop.org
@@ -21,6 +21,9 @@
# upstream: 95a2dcf78ba0e2ae6262bfae897a16b0e26408c8
Patch1: pk-dont-schedule-the-whole-queue.patch
+# upstream: 16bea44b16fd8b1ac36cc5939caf1017eece12eb
+Patch2: pk-fix-yum-error-name.patch
+
Requires: dbus >= %{dbus_version}
Requires: dbus-glib >= %{dbus_glib_version}
Requires: PackageKit-libs = %{version}-%{release}
@@ -147,6 +150,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%configure --enable-yum --enable-smart --with-default-backend=yum --disable-local
@@ -277,6 +281,9 @@
%{_includedir}/*
%changelog
+* Tue Sep 23 2008 Richard Hughes <rhughes at redhat.com> - 0.3.4-4
+- Fix the error dialog when no mirrors are found
+
* Tue Sep 23 2008 Richard Hughes <rhughes at redhat.com> - 0.3.4-3
- Don't try to run all the committed transactions at once with a deep queue.
- This fixes the bug where the dispatcher would sometimes fail to run the
More information about the fedora-extras-commits
mailing list