forked from pool/cppcheck
Accepting request 481721 from devel:tools
- Update to version 1.77: - Always build Qt5 GUI OBS-URL: https://build.opensuse.org/request/show/481721 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cppcheck?expand=0&rev=4
This commit is contained in:
commit
4b1a672aeb
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6aaafd41b4c2050f3fb96a4aa159507007403a163d05361bd9544e5baf18f39
|
||||
size 1111291
|
3
cppcheck-1.77.tar.bz2
Normal file
3
cppcheck-1.77.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1980ffe5c9c24bb6dea24514d42be3aa49d6ba7cc26c448b3543611fe8ba2619
|
||||
size 1188453
|
@ -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 <returnValue>
|
||||
* 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
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user