diff options
-rw-r--r-- | ImageMagick6.spec | 8 |
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 |