From 9cc5cc94af6e891a944d20062ebcc4470c7c5039 Mon Sep 17 00:00:00 2001 From: Eugene Shatokhin Date: Fri, 13 Mar 2015 19:13:08 +0300 Subject: [PATCH] build: Properly replace dashes with underscores (should fix bug #5071) --- kernel.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel.spec b/kernel.spec index 71573eb..68f7e00 100644 --- a/kernel.spec +++ b/kernel.spec @@ -508,10 +508,10 @@ Suggests: crda \ %ifarch %{ix86} \ Conflicts: arch(x86_64) \ %endif \ -Summary: %{expand:%{summary_%(echo %{1} | sed -e "s/-/_/")}} \ +Summary: %{expand:%{summary_%(echo %{1} | sed -e "s/-/_/g")}} \ Group: System/Kernel and hardware \ %description -n %{kname}-%{1}-%{buildrel} \ -%common_desc_kernel %{expand:%{info_%(echo %{1} | sed -e "s/-/_/")}} \ +%common_desc_kernel %{expand:%{info_%(echo %{1} | sed -e "s/-/_/g")}} \ %ifnarch %{arm} \ %common_desc_kernel_smp \ %endif \