SHA256
1
0
forked from pool/cppcheck

Accepting request 481690 from home:favogt:branches:devel:tools

- Update to 1.77
  * Changelog too long to add here, so please see:
    https://sourceforge.net/p/cppcheck/news/
- Always build Qt5 GUI

OBS-URL: https://build.opensuse.org/request/show/481690
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=48
This commit is contained in:
Martin Pluskal
2017-03-21 10:18:08 +00:00
committed by Git OBS Bridge
parent 92c5b39b10
commit 3e3c05b5f0
4 changed files with 13 additions and 13 deletions

View File

@@ -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,7 +17,7 @@
Name: cppcheck
Version: 1.70
Version: 1.77
Release: 0
Summary: A tool for static C/C++ code analysis
License: GPL-3.0+
@@ -58,14 +58,10 @@ 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(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Widgets)
%endif
Requires: cppcheck
%description gui
@@ -84,11 +80,7 @@ make %{?_smp_mflags} \
HAVE_RULES=yes
pushd gui
%if 0%{?suse_version} < 1320
qmake \
%else
qmake-qt5 \
%endif
QMAKE_CXXFLAGS="-DNDEBUG %{optflags}" \
HAVE_RULES=yes
make %{?_smp_mflags}