From 8b4e8ca26b710e0db24f30446eeefdb059ff4f03 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Jul 2021 10:44:25 +0200 Subject: add arch provides for magick modules --- vips.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'vips.spec') 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 -- cgit