From 7e09c6e72c5434aaefe72077d87e0f0027562c6a Mon Sep 17 00:00:00 2001 From: David Adam Date: Wed, 8 Jun 2022 21:47:33 +0800 Subject: [PATCH] Revert "fish.spec: use cmake macros to run tests if available" This reverts commit d25c57ae051ec7172d39bdc86499d4ebe9f42747. The cmake_build macro on SUSE doesn't call CMake directly. --- fish.spec.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fish.spec.in b/fish.spec.in index e521c82a7..3c480cdc2 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -84,16 +84,11 @@ cp -a README.rst %{buildroot}%{_datadir}/doc/fish/ cp -a CONTRIBUTING.rst %{buildroot}%{_datadir}/doc/fish/ %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 %if 0%{?__builddir:1} cd %__builddir %endif make fish_run_tests -%endif %clean rm -rf $RPM_BUILD_ROOT