mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
fish.spec: stop running tests on RHEL 6
Due to RHEL's very old Python and other issues, keeping the tests running is more work than it's worth. Switch to making sure the compiled binary runs only.
This commit is contained in:
parent
3cf1de1b7f
commit
7206be3e47
1 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,7 @@ BuildRequires: update-desktop-files
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?opensuse_bs} && 0%{?rhel} && 0%{?rhel} < 7
|
%if 0%{?opensuse_bs} && 0%{?rhel} && 0%{?rhel} < 7
|
||||||
BuildRequires: gcc48 gcc48-c++ python-argparse
|
BuildRequires: gcc48 gcc48-c++
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# for tests
|
# for tests
|
||||||
|
@ -95,7 +95,12 @@ cp -a CONTRIBUTING.md %{buildroot}%{_pkgdocdir}
|
||||||
%if 0%{?__builddir:1}
|
%if 0%{?__builddir:1}
|
||||||
cd %__builddir
|
cd %__builddir
|
||||||
%endif
|
%endif
|
||||||
|
# Turn off tests on RHEL 6, they are hard to keep running
|
||||||
|
%if 0%{?opensuse_bs} && 0%{?rhel} && 0%{?rhel} < 7
|
||||||
|
./fish -c 'exit 0'
|
||||||
|
%else
|
||||||
make test SHOW_INTERACTIVE_LOG=1
|
make test SHOW_INTERACTIVE_LOG=1
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
Loading…
Reference in a new issue