Completely skip RHEL that does not provide Qt5 packages.
--HG-- branch : develop
This commit is contained in:
parent
c2deab80e1
commit
9ee7b467d5
32
dist/rpm/valentina.spec
vendored
32
dist/rpm/valentina.spec
vendored
|
@ -7,23 +7,23 @@ Requires(post): desktop-file-utils
|
|||
Requires(postun): desktop-file-utils
|
||||
|
||||
# Fedora specifics
|
||||
%if 0%{?fedora_version} > 0 || 0%{?rhel_version} > 0 || 0%{?centos_version} > 0
|
||||
BuildRequires: qt5-qtbase-devel >= 5.0.0
|
||||
BuildRequires: pkgconfig(Qt5Svg)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: qt5-qtxmlpatterns-devel >= 5.0.0
|
||||
BuildRequires: qt5-qtsvg-devel >= 5.0.0
|
||||
BuildRequires: qt5-qttools-devel >= 5.0.0
|
||||
#%if 0%{?fedora_version} > 0 || 0%{?rhel_version} > 0 || 0%{?centos_version} > 0
|
||||
#BuildRequires: qt5-qtbase-devel >= 5.0.0
|
||||
#BuildRequires: pkgconfig(Qt5Svg)
|
||||
#BuildRequires: pkgconfig(Qt5Core)
|
||||
#BuildRequires: pkgconfig(Qt5Gui)
|
||||
#BuildRequires: pkgconfig(Qt5Network)
|
||||
#BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
#BuildRequires: pkgconfig(Qt5Widgets)
|
||||
#BuildRequires: pkgconfig(Qt5Xml)
|
||||
#BuildRequires: qt5-qtxmlpatterns-devel >= 5.0.0
|
||||
#BuildRequires: qt5-qtsvg-devel >= 5.0.0
|
||||
#BuildRequires: qt5-qttools-devel >= 5.0.0
|
||||
|
||||
Requires: qt5-qtsvg >= 5.0.0
|
||||
Requires: qt5-qtbase-gui >= 5.0.0
|
||||
Requires: qt5-qtxmlpatterns >= 5.0.0
|
||||
%endif
|
||||
#Requires: qt5-qtsvg >= 5.0.0
|
||||
#Requires: qt5-qtbase-gui >= 5.0.0
|
||||
#Requires: qt5-qtxmlpatterns >= 5.0.0
|
||||
#%endif
|
||||
|
||||
# SUSE Specifics
|
||||
%if 0%{?suse_version} > 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user