Fix a typo

This commit is contained in:
Matthias Clasen 2009-10-20 13:38:26 +00:00
parent 86ea5b432a
commit cf477a1138
2 changed files with 21 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: PolicyKit Authorization Framework
Name: polkit
Version: 0.95
Release: 0.git20090913.2%{?dist}
Release: 0.git20090913.3%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.git20090913.tar.gz
@ -22,6 +22,8 @@ Obsoletes: PolicyKit <= 0.10
Provides: PolicyKit = 0.11
Patch0: 0001-Fix-process-start-time-when-using-polkit_unix_proces.patch
# https://bugs.freedesktop.org/show_bug.cgi?id=24640
Patch1: typo.patch
%description
PolicyKit is a toolkit for defining and handling authorizations.
@ -66,6 +68,7 @@ Roles and default policy for desktop usage.
%prep
%setup -q
%patch0 -p1
%patch1 -p1 -b .typo
%build
%configure --enable-gtk-doc --disable-static --libexecdir=%{_libexecdir}/polkit-1 --enable-introspection --enable-examples
@ -188,6 +191,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/gtk-doc/html/*
%changelog
* Tue Oct 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.95-0.git20090913.3
- Fix a typo in pklocalauthority(8)
* Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.2
- Refine how Obsolete: is used and also add Provides: (thanks Jesse
Keating and nim-nim)

14
typo.patch Normal file
View File

@ -0,0 +1,14 @@
diff -up polkit-0.95/docs/man/pklocalauthority.xml.typo polkit-0.95/docs/man/pklocalauthority.xml
--- polkit-0.95/docs/man/pklocalauthority.xml.typo 2009-10-20 09:30:30.979673326 -0400
+++ polkit-0.95/docs/man/pklocalauthority.xml 2009-10-20 09:31:06.129673675 -0400
@@ -228,8 +228,8 @@
<para>
All keys specified above are required except that only at least
one
- of <emphasis>RequireAny</emphasis>, <emphasis>RequireInactive</emphasis>
- and <emphasis>RequireActive</emphasis> is
+ of <emphasis>ResultAny</emphasis>, <emphasis>ResultInactive</emphasis>
+ and <emphasis>ResultActive</emphasis> is
present. The <emphasis>ReturnValue</emphasis> key is optional.
</para>
</refsect1>