summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2013-03-14 10:11:58 +0100
committerPavel Raiskup <praiskup@redhat.com>2013-03-14 10:13:18 +0100
commitf1985557bc7dbbeb29decc953193e1da00583388 (patch)
treee58d4d8bb135502fd39e1c36752de9ae22b4cb78
parente916177a4d38efec8070091f3722f619f4b4ccde (diff)
downloadlibtool-f1985557bc7dbbeb29decc953193e1da00583388.tar.gz
libtool-f1985557bc7dbbeb29decc953193e1da00583388.tar.xz
libtool-f1985557bc7dbbeb29decc953193e1da00583388.zip
spec: disable BR on gcc-java for RHEL
Version: 2.4.2-13
-rw-r--r--libtool.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/libtool.spec b/libtool.spec
index 0450b5b..9c06e16 100644
--- a/libtool.spec
+++ b/libtool.spec
@@ -19,7 +19,12 @@ BuildRequires: autoconf, automake, texinfo
Requires: autoconf, automake, sed, tar
# make sure we can configure all supported langs
-BuildRequires: libstdc++-devel, gcc-gfortran, gcc-java
+BuildRequires: libstdc++-devel, gcc-gfortran
+%if !0%{?rhel:1}
+# gcc-java was disabled in RHEL >= 7
+BuildRequires: gcc-java
+%endif
+
# /usr/bin/libtool includes paths within gcc's versioned directories
# Libtool must be rebuilt whenever a new upstream gcc is built
Requires: gcc = %{gcc_version}
@@ -148,6 +153,9 @@ fi
%{_libdir}/libltdl.so
%changelog
+* Thu Mar 14 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-13
+- do not BR gcc-java in RHEL (by dmach)
+
* Thu Jan 24 2013 Jakub Jelinek <jakub@redhat.com> - 2.4.2-12
- rebuilt for gcc 4.8.0