summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-07-05 10:44:25 +0200
committerRemi Collet <remi@remirepo.net>2021-07-05 10:44:25 +0200
commit8b4e8ca26b710e0db24f30446eeefdb059ff4f03 (patch)
tree9ac8f6a3716ee9e8298d0392c7a778f11cb359d6
parenta61084c6539e923c5d2adcd84315616d2dfa78c4 (diff)
add arch provides for magick modules
-rw-r--r--vips.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/vips.spec b/vips.spec
index 79ce836..ab097f7 100644
--- a/vips.spec
+++ b/vips.spec
@@ -212,7 +212,9 @@ BuildRequires: ImageMagick-devel
BuildRequires: ImageMagick6-devel
%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
-Provides: %{name}-magick = %{version}-%{release}
+Obsoletes: %{name}-magick < %{version}-%{release}
+Provides: %{name}-magick = %{version}-%{release}
+Provides: %{name}-magick%{?_isa} = %{version}-%{release}
Conflicts: %{name}-magick-im7
Conflicts: %{name}-magick-gm
@@ -226,7 +228,8 @@ using ImageMagick version 6.
Summary: Magick support for %{name} using ImageMagick7
BuildRequires: ImageMagick7-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
-Provides: %{name}-magick = %{version}-%{release}
+Provides: %{name}-magick = %{version}-%{release}
+Provides: %{name}-magick%{?_isa} = %{version}-%{release}
Conflicts: %{name}-magick-im6
Conflicts: %{name}-magick-gm
@@ -240,7 +243,8 @@ using ImageMagick version 7.
Summary: Magick support for %{name} using GraphicsMagick
BuildRequires: GraphicsMagick-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
-Provides: %{name}-magick = %{version}-%{release}
+Provides: %{name}-magick = %{version}-%{release}
+Provides: %{name}-magick%{?_isa} = %{version}-%{release}
Conflicts: %{name}-magick-im6
Conflicts: %{name}-magick-im7