forked from pool/ninja
- Run more tests
- Small spec file improvements OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=45
This commit is contained in:
parent
5e64ad4c1b
commit
b5bf15e4da
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 11 12:49:19 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Run more tests
|
||||
- Small spec file improvements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 30 20:23:01 UTC 2019 - Christoph G <foss@grueninger.de>
|
||||
|
||||
|
@ -22,7 +22,7 @@ Release: 0
|
||||
Summary: A small build system closest in spirit to Make
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Url: https://ninja-build.org/
|
||||
URL: https://ninja-build.org/
|
||||
Source0: https://github.com/ninja-build/ninja/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: macros.ninja
|
||||
Patch1: ninja-disable-maxprocs-test.patch
|
||||
@ -36,8 +36,7 @@ of files (typically source code and output executables) and orchestrates
|
||||
building them, quickly.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
%autosetup -p0
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
@ -52,8 +51,10 @@ install -D -p -m 0644 misc/bash-completion %{buildroot}%{_datadir}/bash-completi
|
||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ninja
|
||||
|
||||
%check
|
||||
./ninja ninja_test
|
||||
./ninja all
|
||||
./ninja_test
|
||||
python3 ./misc/ninja_syntax_test.py
|
||||
python3 ./misc/output_test.py
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user