gofed / go-macros

Rpm mechanics for Go packaging
4 stars 7 forks source link

Logically separet srpm macros and add example specfiles #42

Open jcajka opened 6 years ago

ingvagabund commented 6 years ago

@nim-nim WDYT?

nim-nim commented 6 years ago

I mostly think the "separate srpm" bit is wrong as the source layout mirrors the rpm directory tree which does not include any "srpm" directory

As for the spec examples they won't work, better to have a working spec in Fedora that can serve as example than a broken example in the project source and a broken spec in Fedora

You have working packages and specs that are complete enough to work and boostrap even on el7 without any manual intervention there:

https://copr.fedorainfracloud.org/coprs/nim/More_Go_Packaging/package/go-srpm-macros/ https://copr.fedorainfracloud.org/coprs/nim/More_Go_Packaging/package/go-macros/ https://copr.fedorainfracloud.org/coprs/nim/More_Go_Packaging/package/golang-symbols-extractor/