Hello community, here is the log from the commit of package cppcheck for openSUSE:Factory checked in at 2016-02-23 16:57:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cppcheck (Old) and /work/SRC/openSUSE:Factory/.cppcheck.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cppcheck" Changes: -------- --- /work/SRC/openSUSE:Factory/cppcheck/cppcheck.changes 2015-09-17 09:21:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cppcheck.new/cppcheck.changes 2016-02-23 16:59:18.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Feb 20 18:58:43 UTC 2016 - crrodrig...@opensuse.org + +- Build the GUI against QT5 in newish products. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cppcheck.spec ++++++ --- /var/tmp/diff_new_pack.B0eJtf/_old 2016-02-23 16:59:19.000000000 +0100 +++ /var/tmp/diff_new_pack.B0eJtf/_new 2016-02-23 16:59:19.000000000 +0100 @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -58,7 +58,14 @@ %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 @@ -77,7 +84,11 @@ 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}