forked from pool/cppcheck
Accepting request 360676 from devel:tools
1 OBS-URL: https://build.opensuse.org/request/show/360676 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cppcheck?expand=0&rev=3
This commit is contained in:
commit
c62faae9b2
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 20 18:58:43 UTC 2016 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Build the GUI against QT5 in newish products.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 15 13:00:50 UTC 2015 - Adam Mizerski <adam@mizerski.pl>
|
Tue Sep 15 13:00:50 UTC 2015 - Adam Mizerski <adam@mizerski.pl>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cppcheck
|
# spec file for package cppcheck
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -58,7 +58,14 @@ errors:
|
|||||||
%package gui
|
%package gui
|
||||||
Summary: A tool for static C/C++ code analysis
|
Summary: A tool for static C/C++ code analysis
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
|
%if 0%{?suse_version} < 1320
|
||||||
BuildRequires: libqt4-devel >= 4.8.0
|
BuildRequires: libqt4-devel >= 4.8.0
|
||||||
|
%else
|
||||||
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||||
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
|
%endif
|
||||||
Requires: cppcheck
|
Requires: cppcheck
|
||||||
|
|
||||||
%description gui
|
%description gui
|
||||||
@ -77,7 +84,11 @@ make %{?_smp_mflags} \
|
|||||||
HAVE_RULES=yes
|
HAVE_RULES=yes
|
||||||
|
|
||||||
pushd gui
|
pushd gui
|
||||||
|
%if 0%{?suse_version} < 1320
|
||||||
qmake \
|
qmake \
|
||||||
|
%else
|
||||||
|
qmake-qt5 \
|
||||||
|
%endif
|
||||||
QMAKE_CXXFLAGS="-DNDEBUG %{optflags}" \
|
QMAKE_CXXFLAGS="-DNDEBUG %{optflags}" \
|
||||||
HAVE_RULES=yes
|
HAVE_RULES=yes
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
Loading…
Reference in New Issue
Block a user