forked from pool/cppcheck
- Use qmake macros
- Run spec-cleaner - 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 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=49
This commit is contained in:
parent
3e3c05b5f0
commit
6a5a5d2aa5
@ -1,9 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
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 1.77
|
||||
* Changelog too long to add here, so please see:
|
||||
https://sourceforge.net/p/cppcheck/news/
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@ -24,7 +24,6 @@ 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,6 +57,7 @@ errors:
|
||||
%package gui
|
||||
Summary: A tool for static C/C++ code analysis
|
||||
Group: Development/Languages/C and C++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
@ -80,10 +80,10 @@ make %{?_smp_mflags} \
|
||||
HAVE_RULES=yes
|
||||
|
||||
pushd gui
|
||||
qmake-qt5 \
|
||||
%qmake5 \
|
||||
QMAKE_CXXFLAGS="-DNDEBUG %{optflags}" \
|
||||
HAVE_RULES=yes
|
||||
make %{?_smp_mflags}
|
||||
%make_jobs
|
||||
popd
|
||||
|
||||
make man \
|
||||
|
Loading…
Reference in New Issue
Block a user