forked from pool/ninja
Accepting request 158705 from devel:tools:building
- Update to git hash ecc876e * Add compdb command to generate compile_commands.json for clang. * Add elapsed time (%e) to NINJA_STATUS. OBS-URL: https://build.opensuse.org/request/show/158705 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ninja?expand=0&rev=4
This commit is contained in:
commit
6777314bfc
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>
|
3
ninja-0.0+git.20130311.ecc876e.tar.bz2
Normal file
3
ninja-0.0+git.20130311.ecc876e.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2f553fc90ff223ddfd933a5cc5a9d51f0deae72e79d97d9507bda98bb5c4e5a8
|
||||||
|
size 113894
|
@ -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
|
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
|
Thu Jan 10 19:38:44 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
- First release
|
- First release
|
||||||
|
|
||||||
|
@ -16,13 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _githash b26d217
|
|
||||||
|
|
||||||
Name: ninja
|
Name: ninja
|
||||||
Summary: A small build system closest in spirit to Make
|
Summary: A small build system closest in spirit to Make
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Version: 0.0_20130222
|
Version: 0.0+git.20130311.ecc876e
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://github.com/martine/ninja
|
Url: https://github.com/martine/ninja
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -30,7 +28,7 @@ BuildRequires: asciidoc
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libxslt-tools
|
BuildRequires: libxslt-tools
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
Source0: ninja-%{_githash}.tar.bz2
|
Source0: ninja-%{version}.tar.bz2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ninja is yet another build system.
|
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.
|
and orchestrates building them, quickly.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python ./bootstrap.py
|
python ./bootstrap.py
|
||||||
|
Loading…
Reference in New Issue
Block a user