Accepting request 22127 from home:sreeves1:branches:GNOME:Factory
Copy from home:sreeves1:branches:GNOME:Factory/PackageKit via accept of submit request 22127 revision 2. Request was accepted with message: Forwarding to openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/22127 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/PackageKit?expand=0&rev=45
This commit is contained in:
parent
dfb691c87b
commit
8ed45f0a88
26
PackageKit-BNC543595.patch
Normal file
26
PackageKit-BNC543595.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp
|
||||
index 386beed..15b3a5e 100644
|
||||
--- a/backends/zypp/pk-backend-zypp.cpp
|
||||
+++ b/backends/zypp/pk-backend-zypp.cpp
|
||||
@@ -1850,6 +1850,12 @@ backend_what_provides (PkBackend *backend, PkBitfield filters, PkProvidesEnum pr
|
||||
pk_backend_thread_create (backend, backend_what_provides_thread);
|
||||
}
|
||||
|
||||
+static gchar *
|
||||
+backend_get_mime_types (PkBackend *backend)
|
||||
+{
|
||||
+ return g_strdup ("application/x-rpm");
|
||||
+}
|
||||
+
|
||||
extern "C" PK_BACKEND_OPTIONS (
|
||||
"Zypp", /* description */
|
||||
"Boyd Timothy <btimothy@gmail.com>, "
|
||||
@@ -1859,7 +1865,7 @@ extern "C" PK_BACKEND_OPTIONS (
|
||||
backend_destroy, /* destroy */
|
||||
backend_get_groups, /* get_groups */
|
||||
backend_get_filters, /* get_filters */
|
||||
- NULL, /* get_mime_types */
|
||||
+ backend_get_mime_types, /* get_mime_types */
|
||||
NULL, /* cancel */
|
||||
NULL, /* download_packages */
|
||||
NULL, /* get_categories */
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 8 17:15:04 UTC 2009 - sreeves@novell.com
|
||||
|
||||
- Fix bnc#543595 - install local files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 13:47:30 CEST 2009 - dominique-obs@leuenberger.net
|
||||
|
||||
|
@ -55,6 +55,8 @@ Patch1: PackageKit-BNC383261-suggest-daemon-quit.patch
|
||||
Patch2: PackageKit-libzypp6.patch
|
||||
# PATCH-FIX-OPENSUSE PackageKit-force-pm-utils.patch dominique-obs@leuenberger.net -- force detection of pm-utils to true (we have a way too old pm-utils package)
|
||||
Patch3: PackageKit-force-pm-utils.patch
|
||||
# PATCH-FIX-UPSTREAM PackageKit-BNC543595.patch sreeves@novell.com -- install local files
|
||||
Patch4: PackageKit-BNC543595.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: %{name}-lang = %{version}
|
||||
PreReq: python-base = %{py_ver}
|
||||
@ -167,6 +169,7 @@ suck less.
|
||||
%patch1 -p1
|
||||
%patch2
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
# uncomment out the following line if autotools should be run again (i.e.,
|
||||
|
Loading…
Reference in New Issue
Block a user