summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-12-03 17:40:22 +0100
committerRemi Collet <remi@remirepo.net>2018-12-03 17:40:22 +0100
commit652603e7bd697316ebf0aa70f9a624784d6a41e3 (patch)
treeff24978833de3b5a711368c393600a0d9fa74b88
parent7f348a4d33319e9c36c498c3d6ef15f960a6568a (diff)
EL-8 build
-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