Commit d96c48ff authored by Luca Boccassi's avatar Luca Boccassi

Problem: OBS _service sets version to unix timestamp.commitid

Solution: a new option has been added to the tar_scm service, so use
it to set the version to last_tag+git<last commit date> which is more
useful.
Unfortunately it's not possible to set it to the current version as
set in the header files, as it's not possible to parse files, only
commit ids, dates and git tags. But it's a step forward.
parent 9dd75e62
......@@ -2,7 +2,9 @@
<service name="tar_scm">
<param name="url">https://github.com/zeromq/libzmq</param>
<param name="scm">git</param>
<!--<param name="versionformat">@PARENT_TAG@+git%cd</param>-->
<param name="versionformat">@PARENT_TAG@+git%cd</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="exclude">.git</param>
<param name="changesgenerate">enable</param>
<param name="filename">zeromq</param>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment