I am writing a .spec file for an app writen in GO. I am a litle confused
how to indicate revision and release, following this wiki[0].

The app is in a git repo. When cloning and cd the dir app, I run this
command:
$ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/.
This gives me for example : 3.4.0.r246.g428444d
Is the global revision is 428444d, (which is in fact the number of the last
commit) OR r246.g428444d ?
Version is 3.4.0

Then, how can I indicate this in my spec file? Of course, I don't know
version + revision before I clone.

Thank you for help


[0]https://fedoraproject.org/wiki/PackagingDrafts/Go
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to