rpms/PackageKit/devel PackageKit-0.5.2-pkaction.patch, NONE, 1.1 PackageKit.spec, 1.112, 1.113

Christopher Aillon caillon at fedoraproject.org
Sat Aug 29 23:24:30 UTC 2009


Author: caillon

Update of /cvs/extras/rpms/PackageKit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32279

Modified Files:
	PackageKit.spec 
Added Files:
	PackageKit-0.5.2-pkaction.patch 
Log Message:
* Sat Aug 29 2009 Christopher Aillon <caillon at redhat.com> - 0.5.2-0.2.20090824git
- Fix build against polkit, rebuild against newer libnm_glib


PackageKit-0.5.2-pkaction.patch:
 configure.ac |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE PackageKit-0.5.2-pkaction.patch ---
>From 8eaf47db02668c5bb243a1442438894790ad7033 Mon Sep 17 00:00:00 2001
From: Christopher Aillon <caillon at redhat.com>
Date: Sat, 29 Aug 2009 12:00:01 -0700
Subject: [PATCH] Use correct configure test for newer polkit

s/polkit-action/pkaction/
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 066b8a1..7b03a63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -588,7 +588,7 @@ AC_ARG_WITH([security_framework],
 			   [Default security framework to use polkit,dummy]))
 # try and guess this if nothing is listed
 if test x$with_security_framework = x; then
-	if test -f /usr/bin/polkit-action ; then
+	if test -f /usr/bin/pkaction ; then
 		with_security_framework=polkit
 	else
 		AC_MSG_ERROR([--with-security-framework explicitly required when not using PolicyKit or RBAC])
-- 
1.6.4



Index: PackageKit.spec
===================================================================
RCS file: /cvs/extras/rpms/PackageKit/devel/PackageKit.spec,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -p -r1.112 -r1.113
--- PackageKit.spec	24 Aug 2009 13:49:27 -0000	1.112
+++ PackageKit.spec	29 Aug 2009 23:24:29 -0000	1.113
@@ -10,7 +10,7 @@
 Summary:   Package management service
 Name:      PackageKit
 Version:   0.5.2
-Release:   0.1.%{?alphatag}git%{?dist}
+Release:   0.2.%{?alphatag}git%{?dist}
 #Release:   1%{?dist}
 License:   GPLv2+
 Group:     System Environment/Libraries
@@ -25,6 +25,10 @@ Patch0:    PackageKit-0.3.8-Fedora-Vendo
 # Fedora specific: the yum backend doesn't do time estimation correctly
 Patch1:    PackageKit-0.4.4-Fedora-turn-off-time.conf.patch
 
+# http://bugs.freedesktop.org/show_bug.cgi?id=23592
+Patch2:    PackageKit-0.5.2-pkaction.patch
+BuildRequires: autoconf
+
 Requires: dbus >= %{dbus_version}
 Requires: dbus-glib >= %{dbus_glib_version}
 Requires: PackageKit-glib = %{version}-%{release}
@@ -240,6 +244,10 @@ user to restart the computer or remove a
 %patch0 -p1 -b .fedora
 %patch1 -p1 -b .no-time
 
+# http://bugs.freedesktop.org/show_bug.cgi?id=23592
+%patch2 -p1 -b .pkaction
+autoreconf
+
 %build
 %configure --disable-static --enable-yum --enable-smart --with-default-backend=yum --disable-local --disable-ruck
 
@@ -436,6 +444,9 @@ update-mime-database %{_datadir}/mime &>
 %{_includedir}/PackageKit/backend/*.h
 
 %changelog
+* Sat Aug 29 2009 Christopher Aillon <caillon at redhat.com> - 0.5.2-0.2.20090824git
+- Fix build against polkit, rebuild against newer libnm_glib
+
 * Mon Aug 24 2009 Richard Hughes  <rhughes at redhat.com> - 0.5.2-0.1.20090824git
 - Update to a newer git snapshot from the 0.5.x series.
 - Enable GUdev functionality and create a device-rebind subpackage.




More information about the fedora-extras-commits mailing list