diff --git a/autoconf.spec b/autoconf.spec index e273b58..8ca1d80 100644 --- a/autoconf.spec +++ b/autoconf.spec @@ -14,13 +14,16 @@ BuildArch: noarch # run "make check" by default -%bcond_without check +%bcond_with check +%bcond_without bootstrap # m4 >= 1.4.6 is required, >= 1.4.14 is recommended: BuildRequires: m4 >= 1.4.14 Requires: m4 >= 1.4.14 Requires: emacs-filesystem +%if %{without bootstrap} BuildRequires: emacs +%endif # the filtering macros are currently in /etc/rpm/macros.perl: BuildRequires: perl-generators BuildRequires: perl-macros @@ -28,10 +31,12 @@ BuildRequires: perl(Data::Dumper) # from f19, Text::ParseWords is not the part of 'perl' package BuildRequires: perl(Text::ParseWords) +%if %{without bootstrap} # %%configure replaces config.guess/config.sub for us, which confuses autoconf # build system and it produces empty man pages for those scripts if help2man is # not installed BuildRequires: help2man +%endif %if %{with check} # For extended testsuite coverage