Fix build on RHEL 6
This commit is contained in:
parent
ef4f602bb8
commit
701eef859d
@ -33,6 +33,10 @@ BuildRequires: pkgconfig(xext)
|
|||||||
#https://github.com/NVIDIA/libglvnd/issues/93
|
#https://github.com/NVIDIA/libglvnd/issues/93
|
||||||
BuildRequires: xorg-x11-server-Xvfb
|
BuildRequires: xorg-x11-server-Xvfb
|
||||||
|
|
||||||
|
%if 0%{?rhel} == 6
|
||||||
|
BuildRequires: autoconf268
|
||||||
|
%endif
|
||||||
|
|
||||||
%{?_without_mesa_glvnd_default:
|
%{?_without_mesa_glvnd_default:
|
||||||
%global __provides_exclude ^(libGL\\.so.*|libEGL\\.so.*|libGLES*\\.so.*)$
|
%global __provides_exclude ^(libGL\\.so.*|libEGL\\.so.*|libGLES*\\.so.*)$
|
||||||
%global __requires_exclude ^(libGL\\.so.*|libEGL\\.so.*|libGLES*\\.so.*)$
|
%global __requires_exclude ^(libGL\\.so.*|libEGL\\.so.*|libGLES*\\.so.*)$
|
||||||
@ -118,8 +122,13 @@ libGL and libGLX are the common dispatch interface for the GLX API.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{?commit0}%{?!commit0:%{version}}
|
%setup -n %{name}-%{?commit0}%{?!commit0:%{version}}
|
||||||
|
%patch1 -p1
|
||||||
|
%if 0%{?rhel} == 6
|
||||||
|
autoreconf268 -vif
|
||||||
|
%else
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user