SHA256
1
0
forked from pool/Mesa

- no longer add /usr/%{_lib}/dri/updates to DRI driver search path

(FATE#317822)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=391
This commit is contained in:
Stefan Dirsch 2014-08-15 12:43:38 +00:00 committed by Git OBS Bridge
parent b54bf743ef
commit 781d7e4168
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 15 12:31:54 UTC 2014 - sndirsch@suse.com
- no longer add /usr/%{_lib}/dri/updates to DRI driver search path
(FATE#317822)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 7 12:29:38 UTC 2014 - sndirsch@suse.com Thu Aug 7 12:29:38 UTC 2014 - sndirsch@suse.com

View File

@ -544,7 +544,11 @@ autoreconf -fi
%if %egl_gallium %if %egl_gallium
--enable-gallium-egl \ --enable-gallium-egl \
%endif %endif
%if 0%{?suse_version} < 1315
--with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \ --with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \
%else
--with-dri-searchpath=/usr/%{_lib}/dri \
%endif
%ifarch %ix86 x86_64 %ifarch %ix86 x86_64
--enable-xa \ --enable-xa \
--enable-gallium-llvm \ --enable-gallium-llvm \
@ -607,10 +611,12 @@ for dir in ../xc/doc/man/{GL/gl,GL/glx}; do
make install.man DESTDIR=$RPM_BUILD_ROOT MANPATH=%{_mandir} LIBMANSUFFIX=3gl make install.man DESTDIR=$RPM_BUILD_ROOT MANPATH=%{_mandir} LIBMANSUFFIX=3gl
popd popd
done done
%if 0%{?suse_version} < 1315
#DRI driver update mechanism #DRI driver update mechanism
mkdir -p $RPM_BUILD_ROOT/usr/%{_lib}/dri/updates mkdir -p $RPM_BUILD_ROOT/usr/%{_lib}/dri/updates
install -m 644 $RPM_SOURCE_DIR/README.updates \ install -m 644 $RPM_SOURCE_DIR/README.updates \
$RPM_BUILD_ROOT/usr/%{_lib}/dri/updates $RPM_BUILD_ROOT/usr/%{_lib}/dri/updates
%endif
%fdupes -s $RPM_BUILD_ROOT/%_mandir %fdupes -s $RPM_BUILD_ROOT/%_mandir
### disabled for now on request of Coolo ### disabled for now on request of Coolo

View File

@ -1,5 +1,4 @@
Mesa Mesa
+/usr/X11R6/lib(64)?/modules/dri/updates/README.updates
obsoletes "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>" obsoletes "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
provides "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>" provides "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
provides "Mesa-libIndirectGL1-<targettype> = <version>" provides "Mesa-libIndirectGL1-<targettype> = <version>"