diff --git a/ninja-1.10.2.tar.gz b/ninja-1.10.2.tar.gz deleted file mode 100644 index 4e59182..0000000 --- a/ninja-1.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce35865411f0490368a8fc383f29071de6690cbadc27704734978221f25e2bed -size 213959 diff --git a/ninja-1.11.0.tar.gz b/ninja-1.11.0.tar.gz new file mode 100644 index 0000000..be31f79 --- /dev/null +++ b/ninja-1.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c6ba2e66400fe3f1ae83deb4b235faf3137ec20bd5b08c29bfc368db143e4c6 +size 229475 diff --git a/ninja-disable-maxprocs-test.patch b/ninja-disable-maxprocs-test.patch index 9a4be9c..e2e8422 100644 --- a/ninja-disable-maxprocs-test.patch +++ b/ninja-disable-maxprocs-test.patch @@ -1,8 +1,8 @@ Index: src/subprocess_test.cc =================================================================== ---- src/subprocess_test.cc.orig -+++ src/subprocess_test.cc -@@ -214,36 +214,6 @@ TEST_F(SubprocessTest, SetWithMulti) { +--- a/src/subprocess_test.cc.orig ++++ b/src/subprocess_test.cc +@@ -216,36 +216,6 @@ TEST_F(SubprocessTest, SetWithMulti) { } } diff --git a/ninja-re2c-g.patch b/ninja-re2c-g.patch index 7e47e82..1cfaa90 100644 --- a/ninja-re2c-g.patch +++ b/ninja-re2c-g.patch @@ -1,11 +1,11 @@ ---- configure.py.orig -+++ configure.py +--- ninja-1.11.0/configure.py.orig 2022-05-18 10:45:04.772811782 +0200 ++++ ninja-1.11.0/configure.py 2022-05-18 10:45:13.968857314 +0200 @@ -479,7 +479,7 @@ return False if has_re2c(): n.rule('re2c', -- command='re2c -b -i --no-generation-date -o $out $in', -+ command='re2c -g -b -i --no-generation-date -o $out $in', +- command='re2c -b -i --no-generation-date --no-version -o $out $in', ++ command='re2c -g -b -i --no-generation-date --no-version -o $out $in', description='RE2C $out') # Generate the .cc files in the source directory so we can check them in. n.build(src('depfile_parser.cc'), 're2c', src('depfile_parser.in.cc')) diff --git a/ninja.changes b/ninja.changes index 5bfe0fc..f7e4e8d 100644 --- a/ninja.changes +++ b/ninja.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed May 18 08:46:55 UTC 2022 - Paolo Stivanin + +- update to 1.11.0: + * this release adds Validation Nodes which are a new way to add jobs + like linters or static analyzers to the build graph + * support cpu limit on docker + * fixes to disk_interface + * fixes to ninja -t parameter + * optimize ninja -d stats + * add -q (quiet) option +- rebase ninja-disable-maxprocs-test.patch +- rebase ninja-re2c-g.patch + ------------------------------------------------------------------- Mon Apr 5 21:51:58 UTC 2021 - Cristian Rodríguez diff --git a/ninja.spec b/ninja.spec index 1b5f61a..02ba2aa 100644 --- a/ninja.spec +++ b/ninja.spec @@ -1,7 +1,7 @@ # # spec file for package ninja # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: ninja -Version: 1.10.2 +Version: 1.11.0 Release: 0 Summary: A small build system closest in spirit to Make License: Apache-2.0 @@ -37,7 +37,7 @@ of files (typically source code and output executables) and orchestrates building them, quickly. %prep -%autosetup -p0 +%autosetup -p1 %build export CFLAGS="%{optflags}"