[dbus-glib] Remove executable bit from sourced script
David King
amigadave at fedoraproject.org
Mon Feb 9 17:50:56 UTC 2015
commit 5105529f52619c1ec7b505d158b58dbe1b930ecc
Author: David King <amigadave at amigadave.com>
Date: Mon Feb 9 17:29:43 2015 +0000
Remove executable bit from sourced script
dbus-glib.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/dbus-glib.spec b/dbus-glib.spec
index 42a68af..a15122e 100644
--- a/dbus-glib.spec
+++ b/dbus-glib.spec
@@ -56,6 +56,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/dbus-binding-tool
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/dbus-bash-completion-helper
+# Scripts that are sourced should not be executable.
+chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
+
%post -p /sbin/ldconfig
@@ -82,6 +85,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/dbus-bash-completion-helper
* Mon Feb 09 2015 David King <amigadave at amigadave.com> - 0.104-1
- Update to 0.104
- Remove RPATH
+- Remove executable bit from sourced script
* Sat Feb 07 2015 David King <amigadave at amigadave.com> - 0.102-1
- Update to 0.102
More information about the scm-commits
mailing list