2014-11-26 14:46 GMT+01:00 Steffen Sledz <sledz@dresearch-fe.de>:
I hope i'm on the right ML with my problem. Please forgive me if not.
I need to write a specfile for use with openSUSE Build Service and have problems with the source fetching and versioning part.
The sources for the project are hosted at GitHub and i like to build a snapshot from the HEAD of the master branch.
So the package version should contain a (generated) numerical part which increments on each build and the (short) hash of the latest commit.
I believe that the tar_scm, set_version and recompress services are needed here. But i could not find a good tutorial or example for this.
Take a look here: https://en.opensuse.org/openSUSE:Build_Service_private_instance_software_liv... Note, that this is documentation about OBS private instance, so you will not need to do everything there when using build.o.o. But services are well documented there. Ondrej -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org