Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When building golang-gopkg-src-d-git package, the resulting -devel RPM's name gets truncated. Version-Release number of selected component (if applicable): go-srpm-macros-2-16.fc29.noarch How reproducible: Always. Steps to Reproduce: 1. cd to your SPECS directory 2. curl -O https://rathann.fedorapeople.org/review/golang-gopkg-src-d-git/golang-gopkg-src-d-git.spec 3. rpmbuild -bb golang-gopkg-src-d-git.spec Actual results: [...] Wrote: /builddir/build/RPMS/golang-gopkg-src-d-4-devel-4.2.0-1.fc29.noarch.rpm [...] Expected results: [...] Wrote: /builddir/build/RPMS/golang-gopkg-src-d-git-4-devel-4.2.0-1.fc29.noarch.rpm [...] Additional info: Not using %{goname} macro in package names works: %global api 4 [...] %package %{api}-devel [...] %description %{api}-devel [...] %files %{api}-devel -f devel.file-list Compare: https://rathann.fedorapeople.org/review/golang-gopkg-src-d-git/golang-gopkg-src-d-git.spec.no-goname
Nicolas, can you check it out?
That is caused by overly broad .git suffix cleanup logic. I’ll try to make it more selective
https://github.com/gofed/go-macros/pull/44
Thanks for the merge!
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
Any timeline on when this can be built?
Ping again? The Beta Freeze is just around the corner.
Rawhide build with the fix was built by the end of June. [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1086648