diff --git a/cppcheck.changes b/cppcheck.changes index 2671966..414dcff 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 4 12:17:56 UTC 2020 - Martin Pluskal + +- Use cmake macros + ------------------------------------------------------------------- Wed Mar 4 11:32:52 UTC 2020 - Danny Al-Gaaf diff --git a/cppcheck.spec b/cppcheck.spec index ad5ffa8..e618271 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -78,11 +78,11 @@ doesn't see. -DBUILD_GUI=ON \ -DBUILD_TESTS=ON \ -DHAVE_RULES=yes -%make_jobs +%cmake_build # does not work with CMake, directly call provided Makefile from source directory cd .. -make man \ +%make_build man \ DB2MAN=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl # use python3 as interpreter @@ -90,7 +90,7 @@ sed -i "s|env python|python3|g" htmlreport/cppcheck-htmlreport %check export CXXFLAGS="%{optflags}" -%make_jobs check +%ctest %install install -Dpm 0755 build/bin/cppcheck \