- Use osc_scm to manage upstream input source. - Fix version string. OBS-URL: https://build.opensuse.org/request/show/947260 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=101
22 lines
864 B
Plaintext
22 lines
864 B
Plaintext
<services>
|
|
<service name="obs_scm" mode="manual">
|
|
<param name="scm">git</param>
|
|
<param name="url">https://github.com/linux-nvme/nvme-cli.git</param>
|
|
<param name="filename">nvme-cli</param>
|
|
<!-- <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> -->
|
|
<param name="versionformat">@PARENT_TAG@</param>
|
|
<param name="revision">v2.0-rc0</param>
|
|
<param name="match-tag">v[02].[0-9]*</param>
|
|
<param name="versionrewrite-pattern">v([^+]*)-rc([0-9]+)</param>
|
|
<param name="versionrewrite-replacement">\1~\2</param>
|
|
<param name="changesgenerate">enable</param>
|
|
</service>
|
|
<service name="set_version" mode="manual">
|
|
</service>
|
|
<service mode="buildtime" name="tar" />
|
|
<service mode="buildtime" name="recompress">
|
|
<param name="file">*.tar</param>
|
|
<param name="compression">gz</param>
|
|
</service>
|
|
</services>
|