BR: make the test-related BR conditional
Do not build require testsuite BR when --without=check is passed. Build requires automake also. Version: 1.13.1-5
This commit is contained in:
parent
ad2fdf8876
commit
4a8932e56f
@ -18,6 +18,7 @@ Patch2: %{name}-%{version}-non-existing-m4-dir.patch
|
|||||||
URL: http://www.gnu.org/software/automake/
|
URL: http://www.gnu.org/software/automake/
|
||||||
Requires: autoconf >= 2.65
|
Requires: autoconf >= 2.65
|
||||||
BuildRequires: autoconf >= 2.65
|
BuildRequires: autoconf >= 2.65
|
||||||
|
BuildRequires: automake
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -27,11 +28,13 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
# for better tests coverage:
|
# for better tests coverage:
|
||||||
|
%if %{with check}
|
||||||
BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
|
BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
|
||||||
BuildRequires: gcc-java java-devel-openjdk gcc-gfortran /usr/bin/g77
|
BuildRequires: gcc-java java-devel-openjdk gcc-gfortran /usr/bin/g77
|
||||||
BuildRequires: dejagnu expect emacs imake python-docutils vala
|
BuildRequires: dejagnu expect emacs imake python-docutils vala
|
||||||
BuildRequires: cscope python-virtualenv ncompress lzip sharutils help2man
|
BuildRequires: cscope python-virtualenv ncompress lzip sharutils help2man
|
||||||
BuildRequires: gcc-objc gcc-objc++
|
BuildRequires: gcc-objc gcc-objc++
|
||||||
|
%endif
|
||||||
|
|
||||||
# the filtering macros are currently in /etc/rpm/macros.perl:
|
# the filtering macros are currently in /etc/rpm/macros.perl:
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
Loading…
Reference in New Issue
Block a user