diff --git a/cppcheck-1.70.tar.bz2 b/cppcheck-1.70.tar.bz2 deleted file mode 100644 index 7fa0045..0000000 --- a/cppcheck-1.70.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6aaafd41b4c2050f3fb96a4aa159507007403a163d05361bd9544e5baf18f39 -size 1111291 diff --git a/cppcheck-1.77.tar.bz2 b/cppcheck-1.77.tar.bz2 new file mode 100644 index 0000000..c0890b9 --- /dev/null +++ b/cppcheck-1.77.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1980ffe5c9c24bb6dea24514d42be3aa49d6ba7cc26c448b3543611fe8ba2619 +size 1188453 diff --git a/cppcheck.changes b/cppcheck.changes index b33115f..27bde5d 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue Mar 21 10:28:21 UTC 2017 - mpluskal@suse.com + +- Use qmake macros +- Run spec-cleaner + +------------------------------------------------------------------- +Tue Mar 21 08:09:22 UTC 2017 - fvogt@suse.com + +- Update to version 1.77: + * Added flag --cppcheck-build-dir to allow incremental analysis and inter-file checking + * Improved --project support for Visual Studio solutions + * Detect pointer overflow + * Detect usage of variable after std::move or std::forward + * Warn about number and char literals in boolean expressions + * Improved checking for variables modified but not used again + * Libraries: Added support to specify + * Improved ValueFlow, especially related to function return values and casts + * Improved simplification of Null values to allow more accurate checking + * Several improvements to windows.cfg, posix.cfg, gnu.cfg and std.cfg + * Reimplemented check for using iterators of mismatching containers... read more +- Always build Qt5 GUI + ------------------------------------------------------------------- Sat Feb 20 18:58:43 UTC 2016 - crrodriguez@opensuse.org diff --git a/cppcheck.spec b/cppcheck.spec index 5b3ace4..e9c12e3 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -1,7 +1,7 @@ # # spec file for package cppcheck # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,13 @@ Name: cppcheck -Version: 1.70 +Version: 1.77 Release: 0 Summary: A tool for static C/C++ code analysis License: GPL-3.0+ Group: Development/Languages/C and C++ Url: http://cppcheck.sourceforge.net/ Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: docbook-xsl-stylesheets BuildRequires: gcc-c++ BuildRequires: pcre-devel @@ -58,14 +57,11 @@ errors: %package gui Summary: A tool for static C/C++ code analysis Group: Development/Languages/C and C++ -%if 0%{?suse_version} < 1320 -BuildRequires: libqt4-devel >= 4.8.0 -%else +BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) -%endif Requires: cppcheck %description gui @@ -84,14 +80,10 @@ make %{?_smp_mflags} \ HAVE_RULES=yes pushd gui -%if 0%{?suse_version} < 1320 -qmake \ -%else -qmake-qt5 \ -%endif +%qmake5 \ QMAKE_CXXFLAGS="-DNDEBUG %{optflags}" \ HAVE_RULES=yes -make %{?_smp_mflags} +%make_jobs popd make man \