diff --git a/golang-github-DataDog-datadog-go.spec b/golang-github-DataDog-datadog-go.spec index cd63652..2bd2201 100644 --- a/golang-github-DataDog-datadog-go.spec +++ b/golang-github-DataDog-datadog-go.spec @@ -126,8 +126,11 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath} export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %endif -# fg: no job control in koji -#%gotest %{import_path}/statsd +%if ! 0%{?gotest:1} +%global gotest go test +%endif + +%gotest %{import_path}/statsd %endif #define license tag if not already defined