[dash/f16] Don't use --fixed-strings in scriptlets grep match (#753887)
Petr Šabata
psabata at fedoraproject.org
Tue Nov 15 09:18:13 UTC 2011
commit bd1b5cc29c6908356e0c713db2d3c75b17d45450
Author: Petr Šabata <contyk at redhat.com>
Date: Tue Nov 15 10:04:26 2011 +0100
Don't use --fixed-strings in scriptlets grep match (#753887)
dash.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/dash.spec b/dash.spec
index fd2eea5..5b3bd71 100644
--- a/dash.spec
+++ b/dash.spec
@@ -1,6 +1,6 @@
Name: dash
Version: 0.5.6
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Small and fast POSIX-compliant shell
Group: System Environment/Shells
License: BSD
@@ -26,7 +26,7 @@ mv %{buildroot}%{_bindir}/dash %{buildroot}/bin/
rm -rf %{buildroot}%{_bindir}/
%post
-grep -qF '^/bin/dash$' /etc/shells || echo '/bin/dash' >> /etc/shells
+grep -q '^/bin/dash$' /etc/shells || echo '/bin/dash' >> /etc/shells
%postun
if [ $1 -eq 0 ]; then
@@ -39,6 +39,9 @@ fi
%{_datadir}/man/man1/dash.1.gz
%changelog
+* Tue Nov 15 2011 Petr Šabata <contyk at redhat.com> - 0.5.6-6
+- Don't use --fixed-strings in scriptlets grep match (#753887)
+
* Mon May 23 2011 Petr Sabata <psabata at redhat.com> - 0.5.6-5
- Try to add dash to /etc/shells every time, not just on new installs (#706138)
- Also, make the grep regexps a bit more strict, just to be sure
More information about the scm-commits
mailing list