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:
parent
ed7a648d6e
commit
9735479051
@ -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>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user