[packages/megacmd] do not depend on cppcheck

glen glen at pld-linux.org
Tue Nov 27 15:23:17 CET 2018


commit cce502dbbbd5d93bb263f1e6549a782996dcfc54
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Nov 27 16:22:22 2018 +0200

    do not depend on cppcheck
    
    not actually used by build
    
    see also
    - https://github.com/meganz/sdk/pull/1287

 megacmd.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/megacmd.spec b/megacmd.spec
index 5ed3b8c..ccef197 100644
--- a/megacmd.spec
+++ b/megacmd.spec
@@ -20,7 +20,6 @@ BuildRequires:	FreeImage-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	c-ares-devel
-BuildRequires:	cppcheck
 BuildRequires:	cryptopp-devel
 BuildRequires:	ffmpeg-devel
 %{?with_fuse:BuildRequires:	libfuse-devel}
@@ -80,6 +79,7 @@ mv sdk-*/* sdk
 %build
 autoreconf -vif
 %configure \
+	ac_cv_prog_HAVE_CPPCHECK=/usr/bin/cppcheck \
 	%{__with_without fuse} \
 	%{__with_without libmediainfo} \
 	--disable-silent-rules
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/megacmd.git/commitdiff/cce502dbbbd5d93bb263f1e6549a782996dcfc54



More information about the pld-cvs-commit mailing list