From 32e504f6a19cfec3599457bb802b54dadc5cb4ba 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 1c2a663..18fda10 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} \