summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2014-02-17 21:38:56 -0600
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2014-02-17 21:38:56 -0600
commitb7a08e809ac4ba3b76b691f54391cfbf39d11847 (patch)
tree91a50085a518e822ed59c585f87defa9c94a9639
parent98ff03794a0720cfff1d2975e7605eb7e1375679 (diff)
downloadcygwin-gcc-b7a08e809ac4ba3b76b691f54391cfbf39d11847.tar.gz
cygwin-gcc-b7a08e809ac4ba3b76b691f54391cfbf39d11847.tar.xz
cygwin-gcc-b7a08e809ac4ba3b76b691f54391cfbf39d11847.zip
No gcc-java in el7
-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}