From b7437aa1d1a274c06d978d350fd29157bdff1b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 7 Dec 2016 09:47:49 +0100 Subject: [PATCH] fix typo in regex --- grub2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub2.spec b/grub2.spec index 573a9ce..a793632 100644 --- a/grub2.spec +++ b/grub2.spec @@ -273,7 +273,7 @@ cd grub-%{tarversion} -e 's/-fexceptions//g' \ -e 's/-m64//g' \ -e 's/-fasynchronous-unwind-tables//g' \ - -e 's/-mcpu=power[[:alnum:]]+/-mcpu=power6/g' \ + -e 's/-mcpu=power[[:alnum:]]\+/-mcpu=power6/g' \ -e 's/^/ -fno-strict-aliasing /' )" \ TARGET_LDFLAGS=-static \ --with-platform=%{platform} \