forked from pool/ninja
- Update to git hash ecc876e
* Add compdb command to generate compile_commands.json for clang. * Add elapsed time (%e) to NINJA_STATUS. - First release OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=5
This commit is contained in:
parent
ddb87260e8
commit
08f6a9e71a
34
_service
Normal file
34
_service
Normal file
@ -0,0 +1,34 @@
|
||||
<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">0.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-0.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>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9f75676b2f5943734a360265269b773a38151262f249b38467a5bf9466733848
|
||||
size 113433
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 15:51:24 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- Update to git hash ecc876e
|
||||
* Add compdb command to generate compile_commands.json for clang.
|
||||
* Add elapsed time (%e) to NINJA_STATUS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 22 13:22:33 UTC 2013 - idonmez@suse.com
|
||||
|
||||
@ -8,5 +15,5 @@ Fri Feb 22 13:22:33 UTC 2013 - idonmez@suse.com
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 19:38:44 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- First release
|
||||
- First release
|
||||
|
||||
|
@ -16,13 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%define _githash b26d217
|
||||
|
||||
Name: ninja
|
||||
Summary: A small build system closest in spirit to Make
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Version: 0.0_20130222
|
||||
Version: 0.0+git.20130311.ecc876e
|
||||
Release: 0
|
||||
Url: https://github.com/martine/ninja
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -30,7 +28,7 @@ BuildRequires: asciidoc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libxslt-tools
|
||||
BuildRequires: python
|
||||
Source0: ninja-%{_githash}.tar.bz2
|
||||
Source0: ninja-%{version}.tar.bz2
|
||||
|
||||
%description
|
||||
Ninja is yet another build system.
|
||||
@ -38,7 +36,7 @@ It takes as input the interdependencies of files (typically source code and outp
|
||||
and orchestrates building them, quickly.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
python ./bootstrap.py
|
||||
|
Loading…
Reference in New Issue
Block a user