SHA256
1
0
forked from pool/Mesa

- specfile: Remove requires to libglvnd0/libglvnd-devel from

baselibs.conf when libglvnd build has been disabled; ugly ...

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=587
This commit is contained in:
Stefan Dirsch 2017-03-29 15:20:32 +00:00 committed by Git OBS Bridge
parent aa012f3f2c
commit 7cd393408d
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 29 15:18:19 UTC 2017 - sndirsch@suse.com
- specfile: Remove requires to libglvnd0/libglvnd-devel from
baselibs.conf when libglvnd build has been disabled; ugly ...
-------------------------------------------------------------------
Wed Mar 29 09:23:27 UTC 2017 - sndirsch@suse.com

View File

@ -20,8 +20,6 @@
# They may fix KDE on Nouveau. They may also deadlock your userland.
%define use_broken_nouveau_locking_patches 0
# Remove requires to libglvnd0/libglvnd-devel from baselibs.conf when
# disabling libglvnd build
%define libglvnd 0
%if 0%{?suse_version} >= 1330
%define libglvnd 1
@ -669,6 +667,13 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch65 -p1
%endif
# Remove requires to libglvnd0/libglvnd-devel from baselibs.conf when
# disabling libglvnd build; ugly ...
%if 0%{?libglvnd} == 0
grep -v libglvnd $RPM_SOURCE_DIR/baselibs.conf > $RPM_SOURCE_DIR/temp && \
mv $RPM_SOURCE_DIR/temp $RPM_SOURCE_DIR/baselibs.conf
%endif
%build
%if 0%{?suse_version} > 1320
egl_platforms=x11,drm,wayland