diff --git a/.gitignore b/.gitignore index 1f8a0f0..0adc688 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ cppcheck-1.44.tar.bz2 /cppcheck-2.3.tar.gz /cppcheck-2.5.tar.gz /cppcheck-2.6.tar.gz +/cppcheck-2.7.tar.gz diff --git a/cppcheck-2.5-disable-test-testexprengine-array7.patch b/cppcheck-2.5-disable-test-testexprengine-array7.patch deleted file mode 100644 index b810b30..0000000 --- a/cppcheck-2.5-disable-test-testexprengine-array7.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/test/testexprengine.cpp b/test/testexprengine.cpp -index f23671a3d..c6069b49c 100644 ---- a/test/testexprengine.cpp -+++ b/test/testexprengine.cpp -@@ -92,7 +92,7 @@ private: - TEST_CASE(array4); - TEST_CASE(array5); - TEST_CASE(array6); -- TEST_CASE(array7); -+ // TEST_CASE(array7); - TEST_CASE(arrayInit1); - TEST_CASE(arrayInit2); - TEST_CASE(arrayInit3); diff --git a/cppcheck.spec b/cppcheck.spec index 15ad694..967675f 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -10,7 +10,7 @@ %endif Name: cppcheck -Version: 2.6 +Version: 2.7 Release: 1%{?dist} Summary: Tool for static C/C++ code analysis License: GPLv3+ @@ -21,9 +21,6 @@ Source0: https://github.com/danmar/%{name}/archive/%{version}.tar.gz#/%{n Patch0: cppcheck-2.2-translations.patch # Select python3 explicitly Patch1: cppcheck-1.88-htmlreport-python3.patch -# Disable one test, which fails under 32-bit archs i686 and armv7hl -# https://trac.cppcheck.net/ticket/10282 -Patch2: cppcheck-2.5-disable-test-testexprengine-array7.patch BuildRequires: gcc-c++ BuildRequires: pcre-devel @@ -77,7 +74,6 @@ from xml files first generated using cppcheck. %setup -q %patch0 -p1 -b .translations %patch1 -p1 -b .python3 -%patch2 -p1 -b .array7 %if !0%{?BUNDLED_TINYXML2} # Make sure bundled tinyxml2 is not used @@ -151,6 +147,9 @@ cd %{_vpath_builddir}/bin %{_bindir}/cppcheck-htmlreport %changelog +* Tue Feb 08 2022 Wolfgang Stöggl - 2.7-1 +- Update to 2.7. + * Sat Oct 02 2021 Wolfgang Stöggl - 2.6-1 - Update to 2.6. diff --git a/sources b/sources index d7cc280..e9953e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cppcheck-2.6.tar.gz) = 6abe518cb9d80c4d0fcc5d47a317f45f177a30372846008f5c65352db91e7de74e6ec6d500d1d18b8cd29a91e3974df125efb35c14c7814c9640741b3827fc2a +SHA512 (cppcheck-2.7.tar.gz) = 22da64126ec76fa2b3c533fe4c82d8c3a46a274bce78aa2495bffed5491c604891ba46684499a28a4a22ab928979e9388e52df36ad0e2b001b81619c26791aad