summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-01-03 14:51:29 +0100
committerRemi Collet <remi@php.net>2023-01-03 14:51:29 +0100
commita6a140ff3a20d9cbdee3b579f6508722d5543941 (patch)
treee2ff9dff3e7160d5fb7470a0a42c4dbfeb3eb6de
parent6ffe3535b848e260dc27bf14311b994f04a04298 (diff)
F38 now have v7
-rw-r--r--ImageMagick6.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/ImageMagick6.spec b/ImageMagick6.spec
index 31b8bda..16faa6e 100644
--- a/ImageMagick6.spec
+++ b/ImageMagick6.spec
@@ -45,13 +45,21 @@ Epoch: 1
Epoch: 0
%endif
+%if 0%{?fedora} >= 38
+# No need to relocate as ImageMagick is v7
+Name: %{libname}6
+%global move 0
+%else
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 8
+# No need to relocate as same soname
Name: %{libname}
%global move 0
%else
+# Need to relocate as different soname
Name: %{libname}6
%global move 1
%endif
+%endif
Version: %{VER}.%{Patchlevel}
Release: 1%{?dist}
Summary: An X application for displaying and manipulating images