From 23380f18d6bd31877c23e867cf86801e27ff4132 Mon Sep 17 00:00:00 2001 From: Petr Šabata Date: Nov 15 2011 09:04:26 +0000 Subject: Don't use --fixed-strings in scriptlets grep match (#753887) --- diff --git a/dash.spec b/dash.spec index 71d1328..3f655ff 100644 --- a/dash.spec +++ b/dash.spec @@ -1,6 +1,6 @@ Name: dash Version: 0.5.7 -Release: 1%{?dist} +Release: 2%{?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 - 0.5.7-2 +- Don't use --fixed-strings in scriptlets grep match (#753887) + * Wed Aug 17 2011 Petr Sabata - 0.5.7-1 - 0.5.7 bump