From cfae264b0817f9043ebc1e3a4fce242ad373ce5aaceccbef023d435412c5e37f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 20 Mar 2022 19:31:39 +0000 Subject: [PATCH] - update to 2.7.1: * Add support for container views. The view attribute has been added to the library tag to specify the class is a view. The lifetime analysis has been updated to use this new attribute to find dangling lifetime containers. * Various checker improvements. * Fixed false positives. OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=85 --- cppcheck-2.6.3.tar.gz | 3 --- cppcheck-2.7.1.tar.gz | 3 +++ cppcheck.changes | 11 +++++++++++ cppcheck.spec | 7 ++++--- 4 files changed, 18 insertions(+), 6 deletions(-) delete mode 100644 cppcheck-2.6.3.tar.gz create mode 100644 cppcheck-2.7.1.tar.gz diff --git a/cppcheck-2.6.3.tar.gz b/cppcheck-2.6.3.tar.gz deleted file mode 100644 index b90d8f2..0000000 --- a/cppcheck-2.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a49ebb7a54356ade09867f466cb41ee4020ebf3732582762669e5c8903f16c8 -size 3880340 diff --git a/cppcheck-2.7.1.tar.gz b/cppcheck-2.7.1.tar.gz new file mode 100644 index 0000000..c60aff3 --- /dev/null +++ b/cppcheck-2.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4d4ec42eb214b113c6a7ca7aaf6bafa92c33029560223049b46ac12f17f54b8 +size 3939762 diff --git a/cppcheck.changes b/cppcheck.changes index f747904..cfe6b8e 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Mar 20 19:22:39 UTC 2022 - Dirk Müller + +- update to 2.7.1: + * Add support for container views. The view attribute has been added to the + library tag to specify the class is a view. The lifetime + analysis has been updated to use this new attribute to find dangling + lifetime containers. + * Various checker improvements. + * Fixed false positives. + ------------------------------------------------------------------- Sat Dec 18 08:34:22 UTC 2021 - Dirk Müller diff --git a/cppcheck.spec b/cppcheck.spec index 2a37854..86d8660 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -1,7 +1,7 @@ # # spec file for package cppcheck # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: cppcheck -Version: 2.6.3 +Version: 2.7.1 Release: 0 Summary: A tool for static C/C++ code analysis License: GPL-3.0-or-later URL: https://github.com/danmar/cppcheck Source: https://github.com/danmar/cppcheck/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: fix-i586.patch +# Patch0: fix-i586.patch BuildRequires: cmake BuildRequires: docbook-xsl-stylesheets BuildRequires: gcc-c++ @@ -36,6 +36,7 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5PrintSupport) +BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(libpcre) Requires: python3-Pygments