From 89c6a62131895fcd52c7a49cd72d393527296c20 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 13 Jul 2020 19:45:35 +0300 Subject: [PATCH] Not all rpm based distributions support elif statement. --- dist/rpm/valentina.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index da14601e9..cae7307c2 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -81,9 +81,13 @@ BuildRequires: libqt5-qtxmlpatterns-devel %if 0%{?mageia} > 0 Requires: poppler -%elif 0%{?suse_version} > 0 +%endif + +%if 0%{?suse_version} > 0 Requires: poppler-tools -%elif 0%{?fedora_version} > 0 || 0%{?rhel_version} > 0 || 0%{?centos_version} > 0 +%endif + +%if 0%{?fedora_version} > 0 || 0%{?rhel_version} > 0 || 0%{?centos_version} > 0 Requires: poppler-utils %endif