atodorov commented on the pull-request: `macros: Accept options for %gotest` that you are
following:
``
@nim you can see the changes I'd like to have here:
https://github.com/osbuild/osbuild-composer/pull/282/files#diff-e9f97a745...
The backgroud is that the mentioned `osbuild-dnf-json-tests` binary should be converted to
use the syntax of the go testing module and be able to compile that and ship it into the
RPM.
In `%build` I tried just `go test -c -o ...` but that caused rpmbuild to fail with missing
build-id. That's why I wanted to use the `%gotest` macro b/c it configures all flags
accordingly but then I bumped into the issue of the macro not supporting the options I
need.
As you can see I've got an easy workaround to defined another macro in my .spec file
and use that instead. But figured this could be something other folks want to do as well.
``
To reply, visit the link below or just reply to this email
https://pagure.io/go-rpm-macros/pull-request/23