diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..fcc7b97 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/python-libcst.spec b/python-libcst.spec index 5b41260..ccffbfe 100644 --- a/python-libcst.spec +++ b/python-libcst.spec @@ -72,14 +72,14 @@ A concrete syntax tree with AST-like properties for Python 3.5+ programs. # libcst/metadata/tests/test_full_repo_manager.py \ # libcst/tests/test_pyre_integration.py -%if !%%{with test} +%if %{without test} %build export CARGO_NET_OFFLINE=true PROFILE=release %pyproject_wheel %endif %install -%if !%%{with test} +%if %{without test} export CARGO_NET_OFFLINE=true PROFILE=release %pyproject_install # gh#Instagram/LibCST#818 @@ -95,7 +95,7 @@ export CARGO_NET_OFFLINE=true PROFILE=release %pyunittest discover -v libcst/tests %endif -%if !%{with test} +%if %{without test} %files %{python_files} %doc README.rst %license LICENSE