fix conditionals

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-09 22:38:16 +01:00
parent 176e815470
commit 803e506a1f
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -19,7 +19,7 @@ Patch3: netpbm-noppmtompeg.patch
Patch4: netpbm-CVE-2017-2587.patch
BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex
BuildRequires: libX11-devel, perl-generators, python2, jasper-devel, libxml2-devel
%if 0%{?fedora} < 28 || 0%{?rhel} < 8
%if (0%{?fedora} && 0%{?fedora} < 28) || (0%{?rhel} || 0%{?rhel} < 8)
BuildRequires: ghostscript-core
%else
BuildRequires: ghostscript