From 4d5b127b19436e917b2ed09ffaea5e5abf90af11 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 16 May 2013 14:10:18 -0400 Subject: [PATCH] Fix yet more build issues on s390{,x} --- mesa.spec | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/mesa.spec b/mesa.spec index ccd80be..5723455 100644 --- a/mesa.spec +++ b/mesa.spec @@ -52,7 +52,7 @@ Summary: Mesa graphics libraries Name: mesa Version: 9.2 -Release: 0.3.%{gitdate}%{?dist} +Release: 0.4.%{gitdate}%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.mesa3d.org @@ -96,11 +96,13 @@ BuildRequires: libXmu-devel BuildRequires: elfutils BuildRequires: python BuildRequires: gettext +%if 0%{?with_llvm} %if 0%{?with_private_llvm} BuildRequires: mesa-private-llvm-devel %else BuildRequires: llvm-devel >= 3.0 %endif +%endif BuildRequires: elfutils-libelf-devel BuildRequires: libxml2-python BuildRequires: libudev-devel @@ -481,10 +483,15 @@ rm -rf $RPM_BUILD_ROOT %if 0%{?with_vmware} %{_libdir}/dri/vmwgfx_dri.so %endif -%else -%exclude %{_sysconfdir}/drirc -%endif %{_libdir}/libdricore*.so* +%endif +# this is funky; it doesn't get built for gallium drivers, so it doesn't +# exist on s390x where swrast is llvmpipe, but does exist on s390 where +# swrast is classic mesa. this seems like a bug? in that it probably +# means the gallium drivers are linking dricore statically? fixme. +%ifarch s390 +%{_libdir}/libdricore*.so* +%endif %{_libdir}/dri/swrast_dri.so %if %{with_hardware} @@ -598,6 +605,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu May 16 2013 Adam Jackson 9.2-0.4.20130514 +- Fix yet more build issues on s390{,x} + * Wed May 15 2013 Adam Jackson 9.2-0.3.20130514 - Fix build ordering issue on s390x