summaryrefslogtreecommitdiffstats
path: root/vips.spec
diff options
context:
space:
mode:
Diffstat (limited to 'vips.spec')
-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