forked from pool/ipmitool
Thomas Renninger
2eebd2b680
- Enhance _service file to always get latest sources and get the version correctly parsed OBS-URL: https://build.opensuse.org/request/show/905241 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=60
23 lines
941 B
Plaintext
23 lines
941 B
Plaintext
<services>
|
|
<service name="obs_scm" mode="localonly">
|
|
<param name="url">https://github.com/ipmitool/ipmitool.git</param>
|
|
<param name="scm">git</param>
|
|
<param name="version">HEAD</param>
|
|
<param name="versionrewrite-pattern">IPMITOOL_([0-9]*)_([0-9]*)_([0-9]*)</param>
|
|
<param name="versionrewrite-replacement">\1.\2.\3</param>
|
|
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.g%h</param>
|
|
<param name="changesgenerate">enable</param>
|
|
</service>
|
|
<service name="set_version" mode="localonly"/>
|
|
<service name="tar" mode="buildtime"/>
|
|
<service name="recompress" mode="buildtime">
|
|
<param name="file">*.tar</param>
|
|
<param name="compression">xz</param>
|
|
</service>
|
|
<service name="download_url" mode="localonly">
|
|
<param name="protocol">http</param>
|
|
<param name="host">www.iana.org</param>
|
|
<param name="path">assignments/enterprise-numbers/enterprise-numbers</param>
|
|
</service>
|
|
</services>
|