Re: Generated subcommand snippet

2021-06-25 Thread Link Dupont
On Fri, 2021-06-25 at 00:01 -0400, Elliott Sales de Andrade wrote: > You should post the > entire spec to see fully what's going on. Fair point. https://linkdupont.fedorapeople.org/mqttcli.spec And here's a COPR build that failed https://copr.fedorainfracloud.org/coprs/linkdupont/mqttcli/build/2

Re: Generated subcommand snippet

2021-06-25 Thread Link Dupont
I think I found the source of the problem. It's not cd'ing into the right directory, so the cmd/* glob isn't expanding. Instead, it's resolving to a literal cmd/*. + cd /builddir/build/BUILD

Re: Generated subcommand snippet

2021-06-25 Thread Link Dupont
I think this might be because my source tarball is including a directory at its root and the macro isn't expecting that. ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to golang-le...@lists.fedoraproject.org Fedora

Re: Generated subcommand snippet

2021-06-25 Thread Robert-André Mauchin
On 6/25/21 8:32 PM, Link Dupont wrote: to support the git.sr.ht forge. See https://src.fedoraproject.org/rpms/golang-sr-sircmpwn-getopt/blob/rawhide/f/golang-sr-sircmpwn-getopt.spec for example on how to support it. It should go like this: # https://git.sr.ht/~spc/mqttcli %global goipath

Re: Generated subcommand snippet

2021-06-25 Thread Link Dupont
Thank you! That was the working example I needed. On Sat, Jun 26 2021 at 01:02:46 AM +0200, Robert-André Mauchin wrote: On 6/25/21 8:32 PM, Link Dupont wrote: to support the git.sr.ht forge. See https://src.fedoraproject.org/rpms/golang-sr-sircmpwn-getopt/blob/rawhide/f/golang-sr-sircmpwn-geto