Not all rpm based distributions support elif statement.

This commit is contained in:
Roman Telezhynskyi 2020-07-13 19:45:35 +03:00
parent e3beecd6fd
commit 89c6a62131

View File

@ -81,9 +81,13 @@ BuildRequires: libqt5-qtxmlpatterns-devel
%if 0%{?mageia} > 0 %if 0%{?mageia} > 0
Requires: poppler Requires: poppler
%elif 0%{?suse_version} > 0 %endif
%if 0%{?suse_version} > 0
Requires: poppler-tools 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 Requires: poppler-utils
%endif %endif