[packages/cmake] - added tests patch (fixes some curl-related failures; a few still exist, probably git related, but

qboosh qboosh at pld-linux.org
Fri Nov 8 20:20:11 CET 2013


commit de784c582f976acbee17914d0f031466357b8e77
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 8 20:20:32 2013 +0100

    - added tests patch (fixes some curl-related failures; a few still exist, probably git related, but reason unknown - lacking logs)

 cmake-tests.patch | 10 ++++++++++
 cmake.spec        |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/cmake.spec b/cmake.spec
index a8a1039..f1b0830 100644
--- a/cmake.spec
+++ b/cmake.spec
@@ -20,7 +20,8 @@ Source0:	http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz
 # Source0-md5:	9d38cd4e2c94c3cea97d0e2924814acc
 Patch0:		%{name}-lib64.patch
 Patch1:		%{name}-helpers.patch
-Patch2:		cmake-findruby.patch
+Patch2:		%{name}-findruby.patch
+Patch3:		%{name}-tests.patch
 URL:		http://www.cmake.org/
 %{?with_gui:BuildRequires:	QtGui-devel}
 BuildRequires:	libarchive-devel
@@ -95,6 +96,7 @@ Bashowe dopełnianie parametrów dla cmake'a.
 %endif
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 cat > "init.cmake" <<EOF
 SET (CURSES_INCLUDE_PATH "/usr/include/ncurses" CACHE PATH " " FORCE)
diff --git a/cmake-tests.patch b/cmake-tests.patch
new file mode 100644
index 0000000..04b31cf
--- /dev/null
+++ b/cmake-tests.patch
@@ -0,0 +1,10 @@
+--- cmake-2.8.12.1/Tests/CMakeLists.txt.orig	2013-11-05 20:07:23.000000000 +0100
++++ cmake-2.8.12.1/Tests/CMakeLists.txt	2013-11-08 15:52:51.604058079 +0100
+@@ -2216,6 +2216,7 @@
+   set(regex "(Problems when submitting via S*CP")
+   set(regex "${regex}|Error message was: ")
+   set(regex "${regex}([Cc]ould *n.t resolve host")
++  set(regex "${regex}|[Cc]ould *n.t resolve:")
+   set(regex "${regex}|[Cc]ould *n.t connect to host")
+   set(regex "${regex}|Empty reply from server")
+   set(regex "${regex}|The requested URL returned error")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cmake.git/commitdiff/de784c582f976acbee17914d0f031466357b8e77



More information about the pld-cvs-commit mailing list