From: Elan Ruusamäe Date: Sat, 2 May 2015 13:20:47 +0000 (+0300) Subject: build with --disable-silent-rules X-Git-Tag: auto/th/mosh-1.2.4-4~2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=c5194fa96898f32fbd23b70d5a0a5a490475739f;p=packages%2Fmosh.git build with --disable-silent-rules --- 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