[will-crash/el6] fix will_java_throw_suppressed availability on RHEL6

Richard Marko rmarko at fedoraproject.org
Mon Nov 24 14:38:45 UTC 2014


commit 2ad9213908e61b50d3d19be83be554a048070763
Author: Richard Marko <rmarko at fedoraproject.org>
Date:   Mon Nov 24 15:38:35 2014 +0100

    fix will_java_throw_suppressed availability on RHEL6

 will-crash.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/will-crash.spec b/will-crash.spec
index 510280d..45c5d42 100644
--- a/will-crash.spec
+++ b/will-crash.spec
@@ -1,6 +1,6 @@
 Name:           will-crash
 Version:        0.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Set of crashing executables written in various languages
 
 Group:          Development/Tools
@@ -58,7 +58,9 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
 %{_bindir}/will_java_segfault
 %{_bindir}/will_java_throw
 %{_bindir}/will_java_throw_remote
+%if 0%{?rhel} && 0%{?rhel} < 7
 %{_bindir}/will_java_throw_suppressed
+%endif
 %{_bindir}/will_cpp_segfault
 %{_bindir}/will_stackoverflow
 %{_bindir}/will_oops
@@ -69,6 +71,9 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
 %{_libdir}/libwilljavasegfault.so*
 
 %changelog
+* Mon Nov 24 2014 Richard Marko <rmarko at fedoraproject.org> - 0.9-2
+- fix will_java_throw_suppressed availability on RHEL6
+
 * Thu Oct 30 2014 Jakub Filak <jfilak at redhat.com> - 0.9-1
 - port to javapackages-utils
 


More information about the scm-commits mailing list