forked from pool/ninja
7db39c9f58
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=11
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
<services>
|
|
<service name="tar_scm" mode="disabled">
|
|
<param name="url">git://github.com/martine/ninja.git</param>
|
|
<param name="scm">git</param>
|
|
|
|
<param name="exclude">.git</param>
|
|
|
|
<param name="filename">ninja</param>
|
|
|
|
<!-- Format string which gets passed to git log via the pretty option -->
|
|
<param name="versionformat">3.0+git.%cd.%h</param>
|
|
|
|
<param name="revision">master</param>
|
|
</service>
|
|
|
|
<!-- The recompress source service compresses the newest tarball generated by tar_scm. -->
|
|
<service name="recompress" mode="disabled">
|
|
<param name="file">ninja-3.0*git*.tar</param>
|
|
<param name="compression">bz2</param>
|
|
</service>
|
|
|
|
<!-- The set_version source service rewrites the Version: header in the .spec file. -->
|
|
<service name="set_version" mode="disabled">
|
|
<!--
|
|
Omit version parameter and specify basename in order to
|
|
autodetect version from tarball generated by tar_scm service.
|
|
Unfortunately this requires the '-git' suffix because of a
|
|
limitation in set-version, in order to distinguish between
|
|
tarballs of git snapshots and release tarballs.
|
|
-->
|
|
<param name="basename">ninja</param>
|
|
</service>
|
|
|
|
</services>
|