diff --git a/variant-lite.spec b/variant-lite.spec index f8fc289..8380b09 100644 --- a/variant-lite.spec +++ b/variant-lite.spec @@ -70,18 +70,14 @@ ln -s /usr/include/lest test/lest %endif -%conf -%cmake %{?!with_tests:-DVARIANT_LITE_OPT_BUILD_TESTS:BOOL=OFF} - - %build +%cmake %{?!with_tests:-DVARIANT_LITE_OPT_BUILD_TESTS:BOOL=OFF} %if %{with regenerate} %{python3} script/generate_header.py \ %{?max_types:--max-types %{max_types}} \ %{?max_args:--max-args %{max_args}} \ --verbose %endif - %cmake_build