openSUSE / golang-packaging

golang packaging tool for openSUSE
GNU General Public License v3.0
6 stars 13 forks source link

golang.sh: avoid excessive "rpm --eval..." calls #29

Closed seife closed 4 years ago

seife commented 4 years ago

%gofilelist uses an ridiculous amount of rpm --eval %go_contribsrcdir, leading to considerable increase in build time. Cache this variable to avoid this hot spot.