Completely skip RHEL that does not provide Qt5 packages.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-11-27 16:12:47 +02:00
parent c2deab80e1
commit 9ee7b467d5

View File

@ -7,23 +7,23 @@ Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils Requires(postun): desktop-file-utils
# Fedora specifics # Fedora specifics
%if 0%{?fedora_version} > 0 || 0%{?rhel_version} > 0 || 0%{?centos_version} > 0 #%if 0%{?fedora_version} > 0 || 0%{?rhel_version} > 0 || 0%{?centos_version} > 0
BuildRequires: qt5-qtbase-devel >= 5.0.0 #BuildRequires: qt5-qtbase-devel >= 5.0.0
BuildRequires: pkgconfig(Qt5Svg) #BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Core) #BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui) #BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network) #BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5PrintSupport) #BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Widgets) #BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml) #BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: qt5-qtxmlpatterns-devel >= 5.0.0 #BuildRequires: qt5-qtxmlpatterns-devel >= 5.0.0
BuildRequires: qt5-qtsvg-devel >= 5.0.0 #BuildRequires: qt5-qtsvg-devel >= 5.0.0
BuildRequires: qt5-qttools-devel >= 5.0.0 #BuildRequires: qt5-qttools-devel >= 5.0.0
Requires: qt5-qtsvg >= 5.0.0 #Requires: qt5-qtsvg >= 5.0.0
Requires: qt5-qtbase-gui >= 5.0.0 #Requires: qt5-qtbase-gui >= 5.0.0
Requires: qt5-qtxmlpatterns >= 5.0.0 #Requires: qt5-qtxmlpatterns >= 5.0.0
%endif #%endif
# SUSE Specifics # SUSE Specifics
%if 0%{?suse_version} > 0 %if 0%{?suse_version} > 0