spec: don't conditionally BR g77

In automake build, the arch==noarch, thus the %ifnarch can not
work properly.  Thanks jcapik.

Version: 1.14.1-2
This commit is contained in:
Pavel Raiskup 2014-04-17 14:31:22 +02:00
parent 5329ef42eb
commit 47ffbf12ec
1 changed files with 4 additions and 8 deletions

View File

@ -6,7 +6,7 @@
Summary: A GNU tool for automatically creating Makefiles
Name: automake
Version: %{api_version}.1
Release: 1%{?dist}
Release: 2%{?dist}
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
License: GPLv2+ and GFDL and Public Domain and MIT
@ -47,13 +47,6 @@ BuildArch: noarch
%if %{with check}
BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
BuildRequires: java-devel-openjdk gcc-gfortran
# /usr/bin/g77 is not in RHEL7
%if !0%{?rhel}
%ifnarch %{arm} aarch64
# g77 is also not present on arm systems
BuildRequires: /usr/bin/g77
%endif
%endif
BuildRequires: dejagnu expect emacs imake python-docutils vala
BuildRequires: cscope ncompress sharutils help2man
BuildRequires: gcc-objc gcc-objc++
@ -125,6 +118,9 @@ fi
%{_mandir}/man1/*
%changelog
* Thu Apr 17 2014 Pavel Raiskup <praiskup@redhat.com> - 1.14.1-2
- don't require g77 at all for testsuite purposes (#1088854)
* Tue Jan 07 2014 Pavel Raiskup <praiskup@redhat.com> - 1.14.1-1
- rebase to new maintenance release (#1046634)