Mailinglist Archive: opensuse-packaging (144 mails)

< Previous Next >
[opensuse-packaging] need help writing specfile for OBS
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.

Thanx for help,

DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@xxxxxxxxxxxxxxx
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation