summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-08-12 15:18:11 +0200
committerRemi Collet <remi@php.net>2024-08-12 15:18:11 +0200
commit36ed57fc6d88976d95e6f11054a87055c0ca96cd (patch)
treed58e6a8812a03cd37a51b823cd99c295e5ace9e2
parent8c03b79bdab25aedca88052933541600aa0e11d7 (diff)
add miising epoch
-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