[automake] spec: do not BR gcc-java /python-virtualenv/lzip in RHEL

Pavel Raiskup praiskup at fedoraproject.org
Mon Mar 18 11:42:42 UTC 2013


commit e1d4070a352218d9aff2afa3648c65ff2d447b58
Author: Pavel Raiskup <praiskup at redhat.com>
Date:   Mon Mar 18 08:29:06 2013 +0100

    spec: do not BR gcc-java /python-virtualenv/lzip in RHEL
    
    Version: 1.13.1-11

 automake.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/automake.spec b/automake.spec
index 82dee29..4eb6d95 100644
--- a/automake.spec
+++ b/automake.spec
@@ -3,7 +3,7 @@
 Summary:    A GNU tool for automatically creating Makefiles
 Name:       automake
 Version:    %{api_version}.1
-Release:    10%{?dist}
+Release:    11%{?dist}
 License:    GPLv2+ and GFDL
 Group:      Development/Tools
 Source:     ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
@@ -37,10 +37,14 @@ Buildroot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # for better tests coverage:
 %if %{with check}
 BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
-BuildRequires: gcc-java java-devel-openjdk gcc-gfortran /usr/bin/g77
+BuildRequires: java-devel-openjdk gcc-gfortran /usr/bin/g77
 BuildRequires: dejagnu expect emacs imake python-docutils vala
-BuildRequires: cscope python-virtualenv ncompress lzip sharutils help2man
+BuildRequires: cscope ncompress sharutils help2man
 BuildRequires: gcc-objc gcc-objc++
+%if !0%{?rhel:1}
+# gcc-java was disabled in RHEL >= 7
+BuildRequires: gcc-java python-virtualenv lzip
+%endif
 %endif
 
 # the filtering macros are currently in /etc/rpm/macros.perl:
@@ -103,6 +107,9 @@ fi
 %{_mandir}/man1/*
 
 %changelog
+* Mon Mar 18 2013 Pavel Raiskup <praiskup at redhat.com> - 1.13.1-11
+- do not BR gcc-java in RHEL (change C&Ped from libtool)
+
 * Sun Mar 10 2013 Pavel Raiskup <praiskup at redhat.com> - 1.13.1-10
 - add the 'perl(Thread::Queue)' dependency (#919810)
 


More information about the scm-commits mailing list