Hello community,

here is the log from the commit of package cmake for openSUSE:Factory checked 
in at 2014-10-19 19:27:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cmake (Old)
 and      /work/SRC/openSUSE:Factory/.cmake.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cmake"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cmake/cmake.changes      2014-09-17 
17:41:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cmake.new/cmake.changes 2014-10-19 
19:27:53.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Oct 17 11:53:37 UTC 2014 - o...@aepfle.de
+
+- Remove . from PATH to fix check
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cmake.spec ++++++
--- /var/tmp/diff_new_pack.2iAW0e/_old  2014-10-19 19:27:54.000000000 +0200
+++ /var/tmp/diff_new_pack.2iAW0e/_new  2014-10-19 19:27:54.000000000 +0200
@@ -86,6 +86,30 @@
 %fdupes %{buildroot}%{_datadir}/cmake
 
 %check
+%if 0%{?suse_version} <= 1140
+# http://public.kitware.com/Bug/view.php?id=13237
+# 0013237: 25 - FindPackageTest (Failed)
+# Our 11.4 and older have . in PATH, as a result check fails.
+# Having '.' in PATH is not needed anyway, so remove it here.
+oIFS=$IFS
+IFS=:
+NPATH=
+for path in $PATH
+do
+       if test "$path" = "."
+       then
+               continue
+       fi
+       if test -n "$NPATH"
+       then
+               NPATH="$NPATH:$path"
+       else
+               NPATH="$path"
+       fi
+done
+IFS=$oIFS
+export PATH=$NPATH
+%endif
 # Excluded tests:
 #    TestUpload: uses internet connection
 #    SimpleInstall: seems to fail due to RPATH strictness

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to