14
0
forked from pool/python-libcst

Set CARGO_NET_OFFLINE variable.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=18
This commit is contained in:
2022-02-21 17:06:06 +00:00
committed by Git OBS Bridge
parent 5f7441c734
commit 48ef570ee9
2 changed files with 4 additions and 2 deletions

View File

@@ -97,6 +97,7 @@ cd native
%cargo_build
}
cd ..
export CARGO_NET_OFFLINE=true PROFILE=release
%python_build
%endif
@@ -107,6 +108,7 @@ cd native
%cargo_install
}
cd ..
export CARGO_NET_OFFLINE=true PROFILE=release
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif