From f08a0462871dca1fd1e33fa5efc57ed8619113c625ff495b4acc8053e2c16d71 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 30 Jul 2024 18:31:35 +0000 Subject: [PATCH] Update SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=33 --- python-libcst.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python-libcst.spec b/python-libcst.spec index 1790402..1bf45e2 100644 --- a/python-libcst.spec +++ b/python-libcst.spec @@ -72,26 +72,23 @@ 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 %{without test} %build export CARGO_NET_OFFLINE=true PROFILE=release %pyproject_wheel -%endif %install -%if %{without test} export CARGO_NET_OFFLINE=true PROFILE=release %pyproject_install # gh#Instagram/LibCST#818 %{python_expand rm -rf %{buildroot}%{$python_sitearch}/libcst/tests %fdupes %{buildroot}%{$python_sitearch} } -%endif %clean %if %{with test} %check +%python_expand find %{buildroot}%{$python_sitearch} -name \*.so\* %pyunittest_arch discover -v libcst/tests %endif