diff --git a/cabal-tweak-drop-dep b/cabal-tweak-drop-dep index 3bc5d58..04d95bc 100755 --- a/cabal-tweak-drop-dep +++ b/cabal-tweak-drop-dep @@ -22,7 +22,7 @@ if [ ! -f $CABALFILE.orig ]; then BACKUP=.orig fi -if grep $DEP $CABALFILE | sed -e "s/$DEP//" | grep -q -e "[A-Za-z]"; then +if grep "$DEP" $CABALFILE | sed -e "s/$DEP//" | grep -q -e "[A-Za-z]"; then echo "$0: deleting whole $DEP lines not safe - try more precise pattern" exit 1 fi diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 73ef3f6..17fa5db 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -10,7 +10,7 @@ #%%global without_hscolour 1 Name: ghc-rpm-macros -Version: 1.8.5 +Version: 1.8.6 Release: 1%{?dist} Summary: RPM macros for building Haskell packages for GHC @@ -162,6 +162,9 @@ EOF %changelog +* Mon Jan 29 2018 Jens Petersen - 1.8.6-1 +- cabal-tweak-drop-dep: quote grep pattern to allow whitespace + * Sun Jan 28 2018 Jens Petersen - 1.8.5-1 - re-enable _ghcdynlibdir (for ghc-8.2)