[mesa] Don't BuildReq on wayland things in RHEL

Adam Jackson ajax at fedoraproject.org
Tue Jul 24 13:45:13 UTC 2012


commit 2844958418ecea1cc9c1bc664ab985934ac5d280
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Jul 24 09:44:45 2012 -0400

    Don't BuildReq on wayland things in RHEL

 mesa.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/mesa.spec b/mesa.spec
index 3e68d93..b5df1d7 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -81,8 +81,10 @@ BuildRequires: libxml2-python
 BuildRequires: libudev-devel
 BuildRequires: libtalloc-devel
 BuildRequires: bison flex
+%if !0%{?rhel}
 BuildRequires: pkgconfig(wayland-client)
 BuildRequires: pkgconfig(wayland-server)
+%endif
 
 %description
 Mesa
@@ -563,6 +565,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Tue Jul 24 2012 Adam Jackson <ajax at redhat.com>
+- Don't BuildReq on wayland things in RHEL
+
 * Mon Jul 23 2012 Adam Jackson <ajax at redhat.com> 8.1-0.13
 - Build radeonsi (#842194)
 


More information about the scm-commits mailing list