Not all rpm based distributions support elif statement.
This commit is contained in:
parent
e3beecd6fd
commit
89c6a62131
8
dist/rpm/valentina.spec
vendored
8
dist/rpm/valentina.spec
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user