[packages/caddy] less noisy build by default
glen
glen at pld-linux.org
Tue Sep 5 06:13:12 CEST 2017
commit 73ce7a95a036fe5adfcc4b269f78bd2900dc07a5
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Sep 5 07:12:33 2017 +0300
less noisy build by default
caddy.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/caddy.spec b/caddy.spec
index aca26f3..3ada9b5 100644
--- a/caddy.spec
+++ b/caddy.spec
@@ -17,7 +17,7 @@ BuildRequires: golang >= 1.8
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _enable_debug_packages 0
-%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
+%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v %{?debug:-x} %{?**};
%define gopath %{_libdir}/golang
%define import_path github.com/mholt/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/caddy.git/commitdiff/73ce7a95a036fe5adfcc4b269f78bd2900dc07a5
More information about the pld-cvs-commit
mailing list