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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user