From a6a140ff3a20d9cbdee3b579f6508722d5543941 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 3 Jan 2023 14:51:29 +0100 Subject: F38 now have v7 --- ImageMagick6.spec | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit