Actually include the patch in the spec file

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2012-03-08 15:48:46 -05:00
parent b0dfcef370
commit ebcac033f0
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: PolicyKit Authorization Framework
Name: polkit
Version: 0.104
Release: 5%{?dist}
Release: 6%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
@ -28,6 +28,7 @@ Provides: polkit-desktop-policy = 0.103
Patch0: 0001-PolkitUnixSession-Set-error-if-we-cannot-find-a-sess.patch
Patch1: 0002-PolkitUnixSession-Actually-return-TRUE-if-a-session-.patch
Patch2: 0001-PolkitAgentSession-Don-t-leak-file-descriptors.patch
%description
PolicyKit is a toolkit for defining and handling authorizations.
@ -61,6 +62,7 @@ Development documentation for PolicyKit.
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%configure --enable-gtk-doc \
@ -131,6 +133,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
%{_datadir}/gtk-doc
%changelog
* Thu Mar 08 2012 David Zeuthen <davidz@redhat.com> 0.104-6%{?dist}
- Don't leak file descriptors (bgo #671486)
* Mon Feb 13 2012 Matthias Clasen <mclasen@redhat.com> - 0.104-5%{?dist}
- Make the -docs subpackage noarch