- Fix build against polkit, rebuild against newer libnm_glib
This commit is contained in:
parent
ac07082516
commit
e69f39a686
26
PackageKit-0.5.2-pkaction.patch
Normal file
26
PackageKit-0.5.2-pkaction.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 8eaf47db02668c5bb243a1442438894790ad7033 Mon Sep 17 00:00:00 2001
|
||||
From: Christopher Aillon <caillon@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
|
||||
|
||||
@ -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-Vendor.conf.patch
|
||||
# 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 and re-insert the device.
|
||||
%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 &> /dev/null || :
|
||||
%{_includedir}/PackageKit/backend/*.h
|
||||
|
||||
%changelog
|
||||
* Sat Aug 29 2009 Christopher Aillon <caillon@redhat.com> - 0.5.2-0.2.20090824git
|
||||
- Fix build against polkit, rebuild against newer libnm_glib
|
||||
|
||||
* Mon Aug 24 2009 Richard Hughes <rhughes@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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user