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:
Matej Cepl 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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9bb299695a933f47e65d2be722935f797b8664368fb86197dcf862429b23cbde
size 15092116
oid sha256:5afc1e7a9de484bcace395eb1c199c0f533aa4ec01aed24d4250e6f051f0fcef
size 15127288