[polkit] - Fix #629515 in a way that doesn't require autoreconf
David Zeuthen
davidz at fedoraproject.org
Thu Sep 2 15:33:17 UTC 2010
commit 0cf55d2c724de97ac714ced251561d9bd57e72e0
Author: David Zeuthen <davidz at redhat.com>
Date: Thu Sep 2 11:25:25 2010 -0400
- Fix #629515 in a way that doesn't require autoreconf
polkit.spec | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/polkit.spec b/polkit.spec
index b84af8c..c527a61 100644
--- a/polkit.spec
+++ b/polkit.spec
@@ -1,7 +1,7 @@
Summary: PolicyKit Authorization Framework
Name: polkit
Version: 0.98
-Release: 2%{?dist}
+Release: 4%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
@@ -23,14 +23,6 @@ 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
@@ -71,16 +63,17 @@ 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
%install
make install DESTDIR=$RPM_BUILD_ROOT
+# bug 629515
+cp src/polkitagent/polkitagentenumtypes.h $RPM_BUILD_ROOT%{_includedir}/polkit-1/polkitagent
+
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
@@ -190,6 +183,9 @@ EOF
%{_datadir}/gtk-doc
%changelog
+* Thu Sep 02 2010 David Zeuthen <davidz at redhat.com> - 0.98-4
+- Fix #629515 in a way that doesn't require autoreconf
+
* Thu Sep 02 2010 David Zeuthen <davidz at redhat.com> - 0.98-2
- Include polkitagentenumtypes.h (#629515)
More information about the scm-commits
mailing list