summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ImageMagick6.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/ImageMagick6.spec b/ImageMagick6.spec
index c2c75b4..b89089c 100644
--- a/ImageMagick6.spec
+++ b/ImageMagick6.spec
@@ -42,7 +42,7 @@
%global with_raqm 0
%endif
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 8
%global with_lqr 1
%else
%global with_lqr 0
@@ -52,14 +52,14 @@
%global libname ImageMagick
-%if 0%{?fedora} >= 30
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
# No need to relocate, same name
%global move 0
%else
%global move 1
%endif
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
# ImageMagick 7 was briefly sent to Fedora 27 and Rawhide in 2017;
# the epoch was necessary to downgrade them back to 6.
Epoch: 1
@@ -67,7 +67,7 @@ Epoch: 1
Epoch: 0
%endif
-%if 0%{?fedora} >= 30
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
Name: %{libname}
%else
Name: %{libname}6