mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Revert "fish.spec: use cmake macros to run tests if available"
This reverts commit d25c57ae05
.
The cmake_build macro on SUSE doesn't call CMake directly.
This commit is contained in:
parent
219a15d1db
commit
7e09c6e72c
1 changed files with 0 additions and 5 deletions
|
@ -84,16 +84,11 @@ cp -a README.rst %{buildroot}%{_datadir}/doc/fish/
|
||||||
cp -a CONTRIBUTING.rst %{buildroot}%{_datadir}/doc/fish/
|
cp -a CONTRIBUTING.rst %{buildroot}%{_datadir}/doc/fish/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Use cmake_build, if it exists, to directly run the fish_run_tests target
|
|
||||||
%if 0%{?cmake_build:1}
|
|
||||||
%cmake_build --target fish_run_tests
|
|
||||||
%else
|
|
||||||
# OpenSUSE does out-of-tree builds and defines __builddir
|
# OpenSUSE does out-of-tree builds and defines __builddir
|
||||||
%if 0%{?__builddir:1}
|
%if 0%{?__builddir:1}
|
||||||
cd %__builddir
|
cd %__builddir
|
||||||
%endif
|
%endif
|
||||||
make fish_run_tests
|
make fish_run_tests
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
Loading…
Reference in a new issue