rpms/PackageKit/devel PackageKit-bz445086-update-detail-unbound.patch, NONE, 1.1 PackageKit.spec, 1.27, 1.28
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Mon May 5 15:32:43 UTC 2008
Author: rnorwood
Update of /cvs/pkgs/rpms/PackageKit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1144
Modified Files:
PackageKit.spec
Added Files:
PackageKit-bz445086-update-detail-unbound.patch
Log Message:
Add patch to fix update detail unbound error.
PackageKit-bz445086-update-detail-unbound.patch:
--- NEW FILE PackageKit-bz445086-update-detail-unbound.patch ---
--- PackageKit-0.1.12/backends/yum/helpers/yumBackend.py Tue Apr 15 18:14:08 2008
+++ PackageKit-0.1.12/backends/yum/helpers/yumBackend.py Mon May 5 11:13:04 2008
@@ -1282,14 +1282,13 @@
if refs:
for ref in refs:
typ = ref['type']
- href = ref['href']
- title = ref['title']
- if typ in ('bugzilla','cve') and href != None:
- if title == None:
- title = ""
- urls[typ].append("%s;%s" % (href,title))
- else:
- urls['vendor'].append("%s;%s" % (ref['href'],ref['title']))
+ href = ref['href']
+ title = ref['title'] or ""
+ if href:
+ if typ in ('bugzilla','cve'):
+ urls[typ].append("%s;%s" % (href,title))
+ else:
+ urls['vendor'].append("%s;%s" % (href,ref['title']))
# Reboot flag
if notice.get_metadata().has_key('reboot_suggested') and notice['reboot_suggested']:
Index: PackageKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PackageKit/devel/PackageKit.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- PackageKit.spec 16 Apr 2008 10:25:31 -0000 1.27
+++ PackageKit.spec 5 May 2008 15:31:25 -0000 1.28
@@ -9,11 +9,12 @@
Summary: System daemon that is a DBUS abstraction layer for package management
Name: PackageKit
Version: 0.1.12
-Release: 4.%{?alphatag}%{?dist}
+Release: 5.%{?alphatag}%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://packagekit.freedesktop.org
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}-%{?alphatag}.tar.gz
+Patch0: PackageKit-bz445086-update-detail-unbound.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: dbus >= %{dbus_version}
@@ -85,6 +86,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%configure --enable-yum --enable-yum2 --with-default-backend=yum
@@ -172,6 +174,10 @@
%{_includedir}/*
%changelog
+* Mon May 5 2008 Robin Norwood <rnorwood at redhat.com> - 0.1.12-5.20080416git
+- Apply patch to fix update detail unbound error.
+- Fix rhbz#445086
+
* Wed Apr 16 2008 Richard Hughes <rhughes at redhat.com> - 0.1.12-4.20080416git
- Urgh, actually upload the correct tarball.
More information about the fedora-extras-commits
mailing list