Improve mesa-libwayland-egl Obsoletes

Mesa will remove libwayland-egl in 18.1.0, so better to be safe.
Also add provides with %{?_isa}.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-03-03 09:00:16 +01:00
parent 40f41c6b66
commit 46465439c7
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: wayland
Version: 1.14.91
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Wayland Compositor Infrastructure
License: MIT
@ -19,7 +19,8 @@ BuildRequires: xmlto
# For upgrade path from F27
Provides: mesa-libwayland-egl = %{version}-%{release}
Obsoletes: mesa-libwayland-egl < 18.0.0-0.3
Provides: mesa-libwayland-egl%{?_isa} = %{version}-%{release}
Obsoletes: mesa-libwayland-egl < 18.1.0
%description
Wayland is a protocol for a compositor to talk to its clients as well as a C
@ -44,7 +45,8 @@ Obsoletes: libwayland-server-devel < 1.11.91
# For upgrade path from F27
Provides: libwayland-egl-devel = %{version}-%{release}
Provides: mesa-libwayland-egl-devel = %{version}-%{release}
Obsoletes: mesa-libwayland-egl-devel < 18.0.0-0.3
Provides: mesa-libwayland-egl-devel%{?_isa} = %{version}-%{release}
Obsoletes: mesa-libwayland-egl-devel < 18.1.0
%description devel
The %{name}-devel package contains libraries and header files for
@ -135,6 +137,9 @@ XDG_RUNTIME_DIR=$PWD/tests/run make check || \
%{_libdir}/libwayland-server.so.0*
%changelog
* Sat Mar 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.14.91-2
- Improve Obsoletes
* Tue Feb 27 2018 Kalev Lember <klember@redhat.com> - 1.14.91-1
- Update to 1.14.91
- Add new libwayland-egl subpackage and obsolete mesa-libwayland-egl