forked from pool/python-argparse-manpage
Point pip at the existing wheels directory
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=35
This commit is contained in:
@@ -61,10 +61,8 @@ support for (deprecated) optparse objects, too.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
mkdir wheels
|
||||
cp $(ls -1 /usr/lib/python3.*/wheels/setuptools*whl | head -n 1) wheels
|
||||
export PIP_NO_INDEX=1
|
||||
export PIP_FIND_LINKS=$(pwd)/wheels
|
||||
export PIP_FIND_LINKS=$(ls -1 /usr/lib/python3.*/wheels | head -n 1)
|
||||
%pytest
|
||||
|
||||
%post
|
||||
|
||||
Reference in New Issue
Block a user