diff --git a/mesa.spec b/mesa.spec index fb93d91..5b805e2 100644 --- a/mesa.spec +++ b/mesa.spec @@ -1,6 +1,9 @@ +%if 0%{?rhel} +%define rhel_no_hw_arches ppc ppc64 +%endif + # S390 doesn't have video cards, but we need swrast for xserver's GLX -# disable hw on PPC, too as only very special configurations have video cards -%ifarch s390 s390x ppc ppp64 +%ifarch s390 s390x %{?rhel_no_hw_arches} %define with_hardware 0 %define dri_drivers --with-dri-drivers=swrast %else @@ -29,7 +32,7 @@ Summary: Mesa graphics libraries Name: mesa Version: 8.0.2 -Release: 5%{?dist} +Release: 4%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.mesa3d.org @@ -559,9 +562,6 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog -* Thu May 03 2012 Karsten Hopp 8.0.2-5 -- disable HW on PPC, this also disables LLVM usage and dri drivers - * Thu Apr 26 2012 Adam Jackson 8.0.2-4 - Don't build vmware stuff on PPC (#815444)