From 2488653ff13959258255659e60f40139d642345a2a007bae3a321082080b4efc Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 16 May 2012 12:45:24 +0000 Subject: [PATCH] Accepting request 121183 from openSUSE:Factory:ARM fix arm and s390 build OBS-URL: https://build.opensuse.org/request/show/121183 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=213 --- Mesa.changes | 5 +++++ Mesa.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Mesa.changes b/Mesa.changes index c301255..a44d901 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 16 10:28:30 UTC 2012 - adrian@suse.de + +- fix build on platforms without gallium (s390 & arm) + ------------------------------------------------------------------- Wed Apr 25 14:14:35 UTC 2012 - tittiatcoke@gmail.com diff --git a/Mesa.spec b/Mesa.spec index e8765fc..a4b1d42 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -491,9 +491,10 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc %postun -n libgbm1 -p /sbin/ldconfig +%ifnarch s390 s390x %arm %post -n libxatracker1 -p /sbin/ldconfig - %postun -n libxatracker1 -p /sbin/ldconfig +%endif %post -n Mesa-libglapi0 -p /sbin/ldconfig @@ -580,6 +581,7 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc %_libdir/libgbm.so %_libdir/pkgconfig/gbm.pc +%ifnarch s390 s390x %arm %files -n libxatracker1 %defattr(-,root,root) %_libdir/libxatracker.so.1* @@ -589,6 +591,7 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc %_includedir/xa_*.h %_libdir/libxatracker.so %_libdir/pkgconfig/xatracker.pc +%endif %files -n Mesa-libglapi0 %defattr(-,root,root)