rpms/PolicyKit/devel PolicyKit-0.7-check-for-bash-in-completion.patch, NONE, 1.1 PolicyKit.spec, 1.9, 1.10
David Zeuthen (davidz)
fedora-extras-commits at redhat.com
Tue Dec 18 18:59:18 UTC 2007
- Previous message (by thread): rpms/tomboy/devel .cvsignore, 1.22, 1.23 sources, 1.22, 1.23 tomboy.spec, 1.63, 1.64
- Next message (by thread): rpms/libnl/devel .cvsignore, 1.6, 1.7 libnl.spec, 1.21, 1.22 sources, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: davidz
Update of /cvs/pkgs/rpms/PolicyKit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6505
Modified Files:
PolicyKit.spec
Added Files:
PolicyKit-0.7-check-for-bash-in-completion.patch
Log Message:
* Thu Dec 6 2007 David Zeuthen <davidz at redhat.com> - 0.7-4%{?dist}
- Only run bash completion script if using bash (#418471)
PolicyKit-0.7-check-for-bash-in-completion.patch:
--- NEW FILE PolicyKit-0.7-check-for-bash-in-completion.patch ---
From: David Zeuthen <davidz at redhat.com>
Date: Tue, 18 Dec 2007 18:50:38 +0000 (-0500)
Subject: actually check for bash in polkit-bash-completion.sh
X-Git-Url: http://gitweb.freedesktop.org/?p=PolicyKit.git;a=commitdiff;h=4cfb96627a5afbe34c0bc583bdcf4caf306bf1a5
actually check for bash in polkit-bash-completion.sh
Some zsh users complained about this
https://bugzilla.redhat.com/show_bug.cgi?id=418471
---
--- a/tools/polkit-bash-completion.sh
+++ b/tools/polkit-bash-completion.sh
@@ -1,4 +1,7 @@
+# Check for bash
+[ -z "$BASH_VERSION" ] && return
+
####################################################################################################
__polkit_auth() {
Index: PolicyKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PolicyKit/devel/PolicyKit.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- PolicyKit.spec 6 Dec 2007 07:00:10 -0000 1.9
+++ PolicyKit.spec 18 Dec 2007 18:58:45 -0000 1.10
@@ -15,7 +15,7 @@
Summary: Authorization Toolkit
Name: PolicyKit
Version: 0.7
-Release: 3%{?dist}
+Release: 4%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://gitweb.freedesktop.org/?p=PolicyKit.git;a=summary
@@ -42,6 +42,8 @@
Requires: libselinux >= %{libselinux_version}
Requires: pam >= %{pam_version}
+Patch0: PolicyKit-0.7-check-for-bash-in-completion.patch
+
# Since PolicyKit 0.7 reading authorizations is a privileged
# operation. So we need to force a new version of hal that makes sure
# that user 'haldaemon' can read authorizations of other users.
@@ -75,6 +77,7 @@
%prep
%setup -q
+%patch -p1 -b .bash-completion
%build
%configure
@@ -167,6 +170,9 @@
%{_datadir}/gtk-doc/html/polkit/*
%changelog
+* Thu Dec 6 2007 David Zeuthen <davidz at redhat.com> - 0.7-4%{?dist}
+- Only run bash completion script if using bash (#418471)
+
* Thu Dec 6 2007 David Zeuthen <davidz at redhat.com> - 0.7-3%{?dist}
- Conflict with older hal release
- Previous message (by thread): rpms/tomboy/devel .cvsignore, 1.22, 1.23 sources, 1.22, 1.23 tomboy.spec, 1.63, 1.64
- Next message (by thread): rpms/libnl/devel .cvsignore, 1.6, 1.7 libnl.spec, 1.21, 1.22 sources, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list