Disable tests on RHEL
This commit is contained in:
parent
fb35e9e68e
commit
b2af916baf
@ -29,9 +29,11 @@ BuildRequires: which
|
||||
BuildRequires: make
|
||||
BuildRequires: %{python_prefix}-devel
|
||||
BuildRequires: %{python_prefix}-lxml
|
||||
BuildRequires: %{python_prefix}-setuptools
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: %{python_prefix}-pytest
|
||||
BuildRequires: %{python_prefix}-pytest-cov
|
||||
BuildRequires: %{python_prefix}-setuptools
|
||||
%endif
|
||||
|
||||
Requires: javapackages-filesystem = %{version}-%{release}
|
||||
Requires: coreutils
|
||||
@ -163,8 +165,10 @@ cp -p %{SOURCE2} %{buildroot}%{_datadir}/xmvn/conf/toolchains.xml
|
||||
|
||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/java/javapackages-config.json
|
||||
|
||||
%if !0%{?rhel}
|
||||
%check
|
||||
./check
|
||||
%endif
|
||||
|
||||
%files -f files-tools
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user