[polkit/f14/master: 1/2] - Include polkitagentenumtypes.h (#629515)
David Zeuthen
davidz at fedoraproject.org
Thu Sep 2 15:12:34 UTC 2010
commit ac846bf0818d6fa7c416f2dd9837ba01843baf7b
Author: David Zeuthen <davidz at redhat.com>
Date: Thu Sep 2 11:09:26 2010 -0400
- Include polkitagentenumtypes.h (#629515)
...-Bug-29816-Install-polkitagentenumtypes.h.patch | 30 ++++++++++++++++++++
polkit.spec | 15 +++++++++-
2 files changed, 44 insertions(+), 1 deletions(-)
---
diff --git a/0001-Bug-29816-Install-polkitagentenumtypes.h.patch b/0001-Bug-29816-Install-polkitagentenumtypes.h.patch
new file mode 100644
index 0000000..552c259
--- /dev/null
+++ b/0001-Bug-29816-Install-polkitagentenumtypes.h.patch
@@ -0,0 +1,30 @@
+From 01e9a56df9abbd9dacccb215969e2dc1d46366d7 Mon Sep 17 00:00:00 2001
+From: Vincent Untz <vuntz at gnome.org>
+Date: Thu, 26 Aug 2010 10:08:26 -0400
+Subject: [PATCH] =?UTF-8?q?Bug=2029816=20=E2=80=93=20Install=20polkitagentenumtypes.h?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+https://bugs.freedesktop.org/show_bug.cgi?id=29816
+
+Signed-off-by: David Zeuthen <davidz at redhat.com>
+---
+ src/polkitagent/Makefile.am | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
+index d2fc9c8..96ffd7c 100644
+--- a/src/polkitagent/Makefile.am
++++ b/src/polkitagent/Makefile.am
+@@ -46,6 +46,7 @@ libpolkit_agent_1includedir=$(includedir)/polkit-1/polkitagent
+
+ libpolkit_agent_1include_HEADERS = \
+ polkitagent.h \
++ polkitagentenumtypes.h \
+ polkitagenttypes.h \
+ polkitagentsession.h \
+ polkitagentlistener.h \
+--
+1.7.2.2
+
diff --git a/polkit.spec b/polkit.spec
index bda3bc1..7527c10 100644
--- a/polkit.spec
+++ b/polkit.spec
@@ -1,7 +1,7 @@
Summary: PolicyKit Authorization Framework
Name: polkit
Version: 0.98
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
@@ -23,6 +23,14 @@ Provides: PolicyKit = 0.11
# sufficiently new polkit-gnome package
Conflicts: polkit-gnome < 0.97
+# this patch needs autoreconf
+Patch0: 0001-Bug-29816-Install-polkitagentenumtypes.h.patch
+BuildRequires: libtool
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: intltool
+BuildRequires: pkgconfig
+
%description
PolicyKit is a toolkit for defining and handling authorizations.
It is used for allowing unprivileged processes to speak to privileged
@@ -65,8 +73,10 @@ Roles and default policy for desktop usage.
%prep
%setup -q
+%patch0 -p1 -b .enumtypes
%build
+autoreconf
%configure --enable-gtk-doc --disable-static --libexecdir=%{_libexecdir}/polkit-1 --disable-introspection --enable-examples
make
@@ -182,6 +192,9 @@ EOF
%{_datadir}/gtk-doc/html/*
%changelog
+* Thu Sep 02 2010 David Zeuthen <davidz at redhat.com> - 0.98-2
+- Include polkitagentenumtypes.h (#629515)
+
* Fri Aug 20 2010 David Zeuthen <davidz at redhat.com> - 0.98-1
- Update to upstream release 0.98
More information about the scm-commits
mailing list