[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvir-list
Subject:    [libvirt] [PATCH 1/2] spec: Turn on verbose build
From:       Jiri Denemark <jdenemar () redhat ! com>
Date:       2017-11-29 13:58:32
Message-ID: 33f09cde9e0f8428311f42af138cdd23c048d36f.1511963877.git.jdenemar () redhat ! com
[Download RAW message or body]

When building a package in a build system, such as koji or cbs, logs are
the only thing which can be used to diagnose failures. Make them verbose
since human friendly output of V=0 build doesn't really help when a
build fails.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 libvirt.spec.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index b00689cabf..b88a977966 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1366,7 +1366,7 @@ rm -f po/stamp-po
            %{?enable_werror} \
            --enable-expensive-tests \
            %{arg_init_script}
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 gzip -9 ChangeLog
 
 %install
@@ -1375,9 +1375,9 @@ rm -fr %{buildroot}
 # Avoid using makeinstall macro as it changes prefixes rather than setting
 # DESTDIR. Newer make_install macro would be better but it's not available
 # on RHEL 5, thus we need to expand it here.
-make %{?_smp_mflags} install DESTDIR=%{?buildroot} SYSTEMD_UNIT_DIR=%{_unitdir}
+make %{?_smp_mflags} install DESTDIR=%{?buildroot} SYSTEMD_UNIT_DIR=%{_unitdir} V=1
 
-make %{?_smp_mflags} -C examples distclean
+make %{?_smp_mflags} -C examples distclean V=1
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
-- 
2.15.1

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic