SHA256
1
0
forked from pool/cppcheck

- Use cmake macros

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=65
This commit is contained in:
Martin Pluskal 2020-03-04 12:18:09 +00:00 committed by Git OBS Bridge
parent ed7a648d6e
commit 9735479051
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 4 12:17:56 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Use cmake macros
-------------------------------------------------------------------
Wed Mar 4 11:32:52 UTC 2020 - Danny Al-Gaaf <opensuse@bisect.de>

View File

@ -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 \