summaryrefslogtreecommitdiffstats
path: root/cygwin-gcc.spec
diff options
context:
space:
mode:
Diffstat (limited to 'cygwin-gcc.spec')
-rw-r--r--cygwin-gcc.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/cygwin-gcc.spec b/cygwin-gcc.spec
index 32e4952..51f2053 100644
--- a/cygwin-gcc.spec
+++ b/cygwin-gcc.spec
@@ -16,7 +16,11 @@
%global build_ada 1
%endif
%endif
+%if 0%{?rhel} >= 7
+%global build_java 0
+%else
%global build_java 1
+%endif
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}