exclude files ...

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=871
This commit is contained in:
Stefan Dirsch 2019-09-26 18:35:45 +00:00 committed by Git OBS Bridge
parent 16b61d0a8e
commit 7e44e24eaf

View File

@ -958,6 +958,33 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%doc docs/README*
%dir %{_datadir}/drirc.d
%config %{_datadir}/drirc.d/*
%if 0%{?libglvnd} >= 120
%exclude /usr/include/EGL/egl.h
%exclude /usr/include/EGL/eglext.h
%exclude /usr/include/EGL/eglextchromium.h
%exclude /usr/include/EGL/eglmesaext.h
%exclude /usr/include/EGL/eglplatform.h
%exclude /usr/include/GL/gl.h
%exclude /usr/include/GL/gl_mangle.h
%exclude /usr/include/GL/glcorearb.h
%exclude /usr/include/GL/glext.h
%exclude /usr/include/GL/glx.h
%exclude /usr/include/GL/glx_mangle.h
%exclude /usr/include/GL/glxext.h
%exclude /usr/include/GLES/egl.h
%exclude /usr/include/GLES/gl.h
%exclude /usr/include/GLES/glext.h
%exclude /usr/include/GLES/glplatform.h
%exclude /usr/include/GLES2/gl2.h
%exclude /usr/include/GLES2/gl2ext.h
%exclude /usr/include/GLES2/gl2platform.h
%exclude /usr/include/KHR/khrplatform.h
%exclude /usr/lib64/pkgconfig/egl.pc
%exclude /usr/lib64/pkgconfig/gl.pc
%exclude /usr/lib64/pkgconfig/glesv1_cm.pc
%exclude /usr/lib64/pkgconfig/glesv2.pc
%exclude /usr/share/man/man3/*
%endif
%files libEGL1
%if 0%{?libglvnd}