Hello community,

here is the log from the commit of package ninja for openSUSE:Factory checked 
in at 2014-11-28 08:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ninja (Old)
 and      /work/SRC/openSUSE:Factory/.ninja.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ninja"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ninja/ninja.changes      2014-09-18 
07:12:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ninja.new/ninja.changes 2014-11-28 
08:46:57.000000000 +0100
@@ -1,0 +2,13 @@
+Wed Nov 26 07:42:03 UTC 2014 - [email protected]
+
+- Update to version 1.5.3
+  * Reaping finished subprocesses now has precedence over
+    starting new jobs
+  * ninja no longer depends on googletest
+- Install bash/zsh completion
+- Install vim syntax file
+- Implement %check
+- Add ninja-disable-maxprocs-test.patch to disable max procs test,
+  it needs a ulimit raise.
+
+-------------------------------------------------------------------

Old:
----
  v1.5.1.tar.gz

New:
----
  ninja-disable-maxprocs-test.patch
  v1.5.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ninja.spec ++++++
--- /var/tmp/diff_new_pack.sAgjnl/_old  2014-11-28 08:46:58.000000000 +0100
+++ /var/tmp/diff_new_pack.sAgjnl/_new  2014-11-28 08:46:58.000000000 +0100
@@ -20,13 +20,14 @@
 Summary:        A small build system closest in spirit to Make
 License:        Apache-2.0
 Group:          Development/Tools/Building
-Version:        1.5.1
+Version:        1.5.3
 Release:        0
 Url:            https://github.com/martine/ninja
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  python-base
 Source0:        https://github.com/martine/ninja/archive/v%{version}.tar.gz
+Patch1:         ninja-disable-maxprocs-test.patch
 
 %description
 Ninja is yet another build system.
@@ -35,17 +36,29 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
-python ./bootstrap.py
+python ./configure.py --bootstrap
 
 %install
 mkdir -p %{buildroot}%{_bindir}
+
 install -m 0755 ninja %{buildroot}%{_bindir}/ninja
+install -D -m 0644 misc/zsh-completion 
%{buildroot}%{_datadir}/zsh/site-functions/_ninja
+install -D -m 0644 misc/ninja.vim 
%{buildroot}%{_datadir}/vim/site/syntax/ninja.vim
+install -D -m 0644 misc/bash-completion 
%{buildroot}%{_sysconfdir}/bash_completion.d/ninja
+
+%check
+./ninja ninja_test
+./ninja_test
 
 %files
 %defattr(-,root,root)
 %{_bindir}/ninja
+%{_datadir}/zsh
+%{_datadir}/vim
+%{_sysconfdir}/bash_completion.d
 %doc COPYING
 
 %changelog

++++++ ninja-disable-maxprocs-test.patch ++++++
Index: ninja-1.5.3/src/subprocess_test.cc
===================================================================
--- ninja-1.5.3.orig/src/subprocess_test.cc
+++ ninja-1.5.3/src/subprocess_test.cc
@@ -166,38 +166,6 @@ TEST_F(SubprocessTest, SetWithMulti) {
   }
 }
 
-// OS X's process limit is less than 1025 by default
-// (|sysctl kern.maxprocperuid| is 709 on 10.7 and 10.8 and less prior to 
that).
-#if !defined(__APPLE__) && !defined(_WIN32)
-TEST_F(SubprocessTest, SetWithLots) {
-  // Arbitrary big number; needs to be over 1024 to confirm we're no longer
-  // hostage to pselect.
-  const unsigned kNumProcs = 1025;
-
-  // Make sure [ulimit -n] isn't going to stop us from working.
-  rlimit rlim;
-  ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlim));
-  if (!EXPECT_GT(rlim.rlim_cur, kNumProcs)) {
-    printf("Raise [ulimit -n] well above %u to make this test go\n", 
kNumProcs);
-    return;
-  }
-
-  vector<Subprocess*> procs;
-  for (size_t i = 0; i < kNumProcs; ++i) {
-    Subprocess* subproc = subprocs_.Add("/bin/echo");
-    ASSERT_NE((Subprocess *) 0, subproc);
-    procs.push_back(subproc);
-  }
-  while (!subprocs_.running_.empty())
-    subprocs_.DoWork();
-  for (size_t i = 0; i < procs.size(); ++i) {
-    ASSERT_EQ(ExitSuccess, procs[i]->Finish());
-    ASSERT_NE("", procs[i]->GetOutput());
-  }
-  ASSERT_EQ(kNumProcs, subprocs_.finished_.size());
-}
-#endif  // !__APPLE__ && !_WIN32 
-
 // TODO: this test could work on Windows, just not sure how to simply
 // read stdin.
 #ifndef _WIN32
++++++ v1.5.1.tar.gz -> v1.5.3.tar.gz ++++++
++++ 4205 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to