diff --git a/automake.spec b/automake.spec index a02668c..7d2e362 100644 --- a/automake.spec +++ b/automake.spec @@ -18,6 +18,7 @@ Patch2: %{name}-%{version}-non-existing-m4-dir.patch URL: http://www.gnu.org/software/automake/ Requires: autoconf >= 2.65 BuildRequires: autoconf >= 2.65 +BuildRequires: automake Requires(post): /sbin/install-info Requires(preun): /sbin/install-info BuildArch: noarch @@ -27,11 +28,13 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %bcond_without check # 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: dejagnu expect emacs imake python-docutils vala BuildRequires: cscope python-virtualenv ncompress lzip sharutils help2man BuildRequires: gcc-objc gcc-objc++ +%endif # the filtering macros are currently in /etc/rpm/macros.perl: BuildRequires: perl-macros