]> git.pld-linux.org Git - packages/caddy.git/commitdiff
less noisy build by default
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Sep 2017 04:12:33 +0000 (07:12 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Sep 2017 04:12:33 +0000 (07:12 +0300)
caddy.spec

index aca26f37c66c2a1951581b8afb9b37e5c3483e0b..3ada9b5da55bc8c78f34a59016136f350e4db687 100644 (file)
@@ -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}
 
This page took 0.089761 seconds and 4 git commands to generate.