Re-enable gui, qt5 is available after all.
This commit is contained in:
parent
da69b0aa3f
commit
968edaf979
@ -1,12 +1,9 @@
|
|||||||
%if 0%{?fedora} > 0
|
# Gui built in all branches
|
||||||
%global gui 1
|
%global gui 1
|
||||||
%else
|
|
||||||
%global gui 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: cppcheck
|
Name: cppcheck
|
||||||
Version: 1.83
|
Version: 1.83
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Tool for static C/C++ code analysis
|
Summary: Tool for static C/C++ code analysis
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -22,14 +19,20 @@ Patch2: cppcheck-1.78-cfgdir.patch
|
|||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
BuildRequires: tinyxml2-devel >= 2.1.0
|
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: tinyxml2-devel >= 2.1.0
|
||||||
|
|
||||||
%if %{gui}
|
%if %{gui}
|
||||||
|
%if 0%{?rhel} == 7
|
||||||
|
# no qt5-devel metapackage!
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt5-linguist
|
||||||
|
%else
|
||||||
BuildRequires: qt5-devel
|
BuildRequires: qt5-devel
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
Obsoletes: %{name}-gui < %{version}-%{release}
|
Obsoletes: %{name}-gui < %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
@ -106,6 +109,9 @@ cd objdir-%{_target_platform}/bin
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 17 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.83-2
|
||||||
|
- Qt5 is available on RHEL 7 after all, re-enable gui in EPEL 7.
|
||||||
|
|
||||||
* Sat Apr 14 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.83-1
|
* Sat Apr 14 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.83-1
|
||||||
- GUI no longer available on RHEL 7 due to Qt5 dependency.
|
- GUI no longer available on RHEL 7 due to Qt5 dependency.
|
||||||
- Update to 1.83.
|
- Update to 1.83.
|
||||||
|
Loading…
Reference in New Issue
Block a user