From 0cf55d2c724de97ac714ced251561d9bd57e72e0 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Thu, 2 Sep 2010 11:25:25 -0400 Subject: [PATCH] - Fix #629515 in a way that doesn't require autoreconf --- polkit.spec | 18 +++++++----------- 1 file 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 - 0.98-4 +- Fix #629515 in a way that doesn't require autoreconf + * Thu Sep 02 2010 David Zeuthen - 0.98-2 - Include polkitagentenumtypes.h (#629515)