build: Properly replace dashes with underscores (should fix bug #5071)

This commit is contained in:
Eugene Shatokhin 2015-03-13 19:13:08 +03:00
parent ecc4aae2dc
commit 9cc5cc94af

View file

@ -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 \