From a99212e89a3fc1f1afb2225286b0b818ee8f6531 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 31 Dec 2017 17:26:06 +0200 Subject: [PATCH] Try build packages for RHEL and CentOS. --HG-- branch : develop --- dist/rpm/valentina.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index 2bfe1fcaa..7725a4196 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -6,8 +6,7 @@ Requires(postun): /sbin/ldconfig Requires(post): desktop-file-utils Requires(postun): desktop-file-utils -# Fedora specifics -%if 0%{?fedora_version} > 0 +%if 0%{?fedora_version} > 0 || 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700 BuildRequires: qt5-qtbase-devel >= 5.2.0 BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Core) @@ -41,7 +40,7 @@ BuildRequires: libqt5-linguist-devel BuildRequires: libqt5-qtxmlpatterns-devel %endif -%endif +%endif # %if 0%{?suse_version} > 0 Requires: poppler-utils