Hello community,
here is the log from the commit of package cppcheck for openSUSE:Factory checked in at 2019-01-05 14:42:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cppcheck (Old)
and /work/SRC/openSUSE:Factory/.cppcheck.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cppcheck"
Sat Jan 5 14:42:34 2019 rev:9 rq:662754 version:1.86
Changes:
--------
--- /work/SRC/openSUSE:Factory/cppcheck/cppcheck.changes 2018-12-28 12:35:43.299946708 +0100
+++ /work/SRC/openSUSE:Factory/.cppcheck.new.28833/cppcheck.changes 2019-01-05 14:42:35.156468641 +0100
@@ -1,0 +2,8 @@
+Thu Jan 3 18:13:49 UTC 2019 - Nemanja V
+
+- Workaround for CMake lacking a CFGDIR variable.
+ * Patch was submitted (https://github.com/danmar/cppcheck/pull/1554)
+ and accepted so this change should be reverted and replaced with a CMake compile definition
+ -DCFGDIR=\"%{_datadir}/%{name}\" once a new upstream version is released.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cppcheck.spec ++++++
--- /var/tmp/diff_new_pack.SrEXDF/_old 2019-01-05 14:42:35.744468141 +0100
+++ /var/tmp/diff_new_pack.SrEXDF/_new 2019-01-05 14:42:35.748468138 +0100
@@ -74,7 +74,7 @@
%build
%cmake \
- -DCMAKE_CXX_FLAGS="-DNDEBUG %{optflags}" \
+ -DCMAKE_CXX_FLAGS="-DNDEBUG %{optflags} -UCFGDIR -DCFGDIR=\\\"%{_datadir}/%{name}\\\"" \
-DBUILD_GUI=ON \
-DBUILD_TESTS=ON \
-DHAVE_RULES=yes