summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ImageMagick7.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/ImageMagick7.spec b/ImageMagick7.spec
index 0bbfe27..299eeaa 100644
--- a/ImageMagick7.spec
+++ b/ImageMagick7.spec
@@ -183,13 +183,13 @@ Requires: openjpeg2-devel%{?_isa}
Requires: jasper-devel%{?_isa}
Requires: pkgconfig
%if "%{name}" != "%{libname}"
-Conflicts: %{libname}-devel < %{version}
-Conflicts: %{libname}-last-devel < %{version}
-Conflicts: %{libname}6-devel < %{version}
-Provides: %{libname}-devel = %{version}-%{release}
-Provides: %{libname}-devel%{?_isa} = %{version}-%{release}
+Conflicts: %{libname}-devel < %{epoch}:%{version}
+Conflicts: %{libname}-last-devel < %{epoch}:%{version}
+Conflicts: %{libname}6-devel < %{epoch}:%{version}
+Provides: %{libname}-devel = %{epoch}:%{version}-%{release}
+Provides: %{libname}-devel%{?_isa} = %{epoch}:%{version}-%{release}
%else
-Obsoletes: %{libname}7-devel < %{version}-%{release}
+Obsoletes: %{libname}7-devel <= %{epoch}:%{version}-%{release}
Provides: %{libname}7-devel = %{epoch}:%{version}-%{release}
Provides: %{libname}7-devel%{?_isa} = %{epoch}:%{version}-%{release}
%endif
@@ -208,7 +208,7 @@ however.
%package libs
Summary: ImageMagick library
%if "%{name}" == "%{libname}"
-Obsoletes: %{libname}7-libs <= %{version}-%{release}
+Obsoletes: %{libname}7-libs <= %{epoch}:%{version}-%{release}
%endif
# default font is OpenSans-Regular
Recommends: urw-base35-fonts