forked from pool/wayland
Accepting request 651980 from X11:Wayland
- Downgrades do not work in SLES service packs, because the SP0 repo remains enabled for SP1. (This is unlike Leap, where a 15.1 system will have no 15.0 directories.) As such, to force the upgrade from Mesa:libwayland-egl1 to wayland:libwayland-egl1, the number in wayland is bumped to >18 for those distros. OBS-URL: https://build.opensuse.org/request/show/651980 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wayland?expand=0&rev=38
This commit is contained in:
commit
e82099950a
@ -6,5 +6,5 @@ wayland-devel
|
|||||||
requires -wayland-<targettype>
|
requires -wayland-<targettype>
|
||||||
requires "libwayland-client0-<targettype> = <version>"
|
requires "libwayland-client0-<targettype> = <version>"
|
||||||
requires "libwayland-cursor0-<targettype> = <version>"
|
requires "libwayland-cursor0-<targettype> = <version>"
|
||||||
requires "libwayland-egl1-<targettype> = <version>"
|
requires "libwayland-egl1-<targettype> = <eglversion>"
|
||||||
requires "libwayland-server0-<targettype> = <version>"
|
requires "libwayland-server0-<targettype> = <version>"
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 20 12:57:23 UTC 2018 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- Downgrades do not work in SLES service packs, because the SP0
|
||||||
|
repo remains enabled for SP1. (This is unlike Leap, where a 15.1
|
||||||
|
system will have no 15.0 directories.) As such, to force the
|
||||||
|
upgrade from Mesa:libwayland-egl1 to wayland:libwayland-egl1,
|
||||||
|
the number in wayland is bumped to >18 for those distros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 19 17:12:57 UTC 2018 - sndirsch@suse.com
|
Mon Nov 19 17:12:57 UTC 2018 - sndirsch@suse.com
|
||||||
|
|
||||||
|
18
wayland.spec
18
wayland.spec
@ -15,10 +15,16 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%define _version 1.16.0
|
||||||
|
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
|
||||||
|
%define eglversion 99~%_version
|
||||||
|
%else
|
||||||
|
%define eglversion %_version
|
||||||
|
%endif
|
||||||
|
|
||||||
%define lname libwayland0
|
%define lname libwayland0
|
||||||
Name: wayland
|
Name: wayland
|
||||||
Version: 1.16.0
|
Version: %_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Wayland Compositor Infrastructure
|
Summary: Wayland Compositor Infrastructure
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -82,6 +88,7 @@ to get buffer for each cursor image.
|
|||||||
%package -n libwayland-egl1
|
%package -n libwayland-egl1
|
||||||
Summary: Additional egl functions for wayland
|
Summary: Additional egl functions for wayland
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Version: %eglversion
|
||||||
|
|
||||||
%description -n libwayland-egl1
|
%description -n libwayland-egl1
|
||||||
This package provides additional functions for EGL-using programs
|
This package provides additional functions for EGL-using programs
|
||||||
@ -103,10 +110,10 @@ fullscreen) or other display servers.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the Wayland Compositor Infrastructure
|
Summary: Development files for the Wayland Compositor Infrastructure
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libwayland-client0 = %version
|
Requires: libwayland-client0 = %_version
|
||||||
Requires: libwayland-cursor0 = %version
|
Requires: libwayland-cursor0 = %_version
|
||||||
Requires: libwayland-egl1 = %version
|
Requires: libwayland-egl1 = %eglversion
|
||||||
Requires: libwayland-server0 = %version
|
Requires: libwayland-server0 = %_version
|
||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
%if 0%{?suse_version} >= 1550
|
%if 0%{?suse_version} >= 1550
|
||||||
Provides: libwayland-egl-devel = 18.1.5
|
Provides: libwayland-egl-devel = 18.1.5
|
||||||
@ -138,6 +145,7 @@ This subpackage contains the documentation to Wayland.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
sed -i 's/<eglversion>/%eglversion/' "%_sourcedir/baselibs.conf"
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
if [ ! -e configure ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user