[java-1.7.0-openjdk] Fix building on ppc

Jesse Keating jkeating at fedoraproject.org
Mon Dec 19 23:29:12 UTC 2011


commit 99af16d11f71123bce13025c7ed920fa4582b5f4
Author: Jesse Keating <jkeating at redhat.com>
Date:   Mon Dec 19 15:27:58 2011 -0800

    Fix building on ppc
    
    For the arches not in jit_arches, defining with_systemtap to nil had the
    effect of doing an if statement on a null reference.  RPM doesn't
    like that, so use 0 on these types of conditionals

 java-1.7.0-openjdk.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/java-1.7.0-openjdk.spec b/java-1.7.0-openjdk.spec
index ffbf240..0578b00 100644
--- a/java-1.7.0-openjdk.spec
+++ b/java-1.7.0-openjdk.spec
@@ -87,7 +87,7 @@
 %ifarch %{jit_arches}
 %global with_systemtap 1
 %else
-%global with_systemtap %{nil}
+%global with_systemtap 0
 %endif
 
 # Convert an absolute path to a relative path.  Each symbolic link is


More information about the scm-commits mailing list