[java-1.7.0-openjdk/f16] Fix building on ppc
Jesse Keating
jkeating at fedoraproject.org
Mon Dec 19 23:29:07 UTC 2011
commit 032f8e1a1f8eea068543ccc81beb8c1f2aac9fc2
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 e017629..cd6b0da 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