From c5194fa96898f32fbd23b70d5a0a5a490475739f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 2 May 2015 16:20:47 +0300 Subject: [PATCH] build with --disable-silent-rules --- mosh.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/mosh.spec b/mosh.spec index e84f5a8..522d2c7 100644 --- a/mosh.spec +++ b/mosh.spec @@ -1,8 +1,5 @@ -# - -# Conditional build: -%bcond_without verbose # verbose build (V=1) +# force gcc4 for ac %if "%{pld_release}" == "ac" # add suffix, but allow ccache, etc in ~/.rpmmacros %{expand:%%define __cc %(echo '%__cc' | sed -e 's,-gcc,-gcc4,')} @@ -54,11 +51,11 @@ especially over Wi-Fi, cellular, and long-distance links. %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh %build +CPPFLAGS="-I/usr/include/ncurses" %configure \ - --enable-compile-warnings=error \ - CPPFLAGS="-I/usr/include/ncurses" -%{__make} \ - %{?with_verbose:V=1} + --disable-silent-rules \ + --enable-compile-warnings=error +%{__make} %install rm -rf $RPM_BUILD_ROOT -- 2.44.0