make baslibs confl/prov/obsol the same as regular package

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wayland?expand=0&rev=101
This commit is contained in:
Jan Engelhardt 2022-03-05 15:22:04 +00:00 committed by Git OBS Bridge
parent d4018cfe5a
commit d4b1a8a230
2 changed files with 3 additions and 1 deletions

View File

@ -8,4 +8,5 @@ wayland-devel
requires "libwayland-cursor0-<targettype> = <version>"
requires "libwayland-egl1-<targettype> = <eglversion>"
requires "libwayland-server0-<targettype> = <version>"
conflicts "libwayland-egl-devel-<targettype> <= 18.0.2"
provides "libwayland-egl-devel-<targettype> = 18.1.5"
obsoletes "libwayland-egl-devel-<targettype> < 18.1.5"

View File

@ -116,6 +116,7 @@ Requires: libwayland-cursor0 = %_version
Requires: libwayland-egl1 = %eglversion
Requires: libwayland-server0 = %_version
%if 0%{?suse_version} >= 1500
# egl1 was once provided by Mesa 17.x.
%if (0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400)
Provides: libwayland-egl-devel = 18.1.5
Obsoletes: libwayland-egl-devel < 18.1.5