parent
7007395037
commit
68637c4179
@ -201,7 +201,7 @@ PKG_CONFIG=mingw64-pkg-config %{mingw64_py3_build}
|
||||
|
||||
# Doc build
|
||||
%if %{with doc}
|
||||
PYTHONPATH=$($PWD/build/lib.linux-*) make -C docs html BUILDDIR=_build_py3 SPHINXBUILD=sphinx-build-%python3_version
|
||||
PYTHONPATH=$(echo $PWD/build/lib.linux-*) make -C docs html BUILDDIR=_build_py3 SPHINXBUILD=sphinx-build-%python3_version
|
||||
rm -f docs/_build_py3/html/.buildinfo
|
||||
%endif
|
||||
|
||||
@ -236,9 +236,9 @@ rm -rf %{buildroot}%{mingw64_bindir}
|
||||
|
||||
%check
|
||||
# Check Python 3 modules
|
||||
ln -s $PWD/Images $($PWD/build/lib.linux-*)/Images
|
||||
cp -R $PWD/Tests $($PWD/build/lib.linux-*)/Tests
|
||||
cp -a $PWD/selftest.py $($PWD/build/lib.linux-*)/selftest.py
|
||||
ln -s $PWD/Images $(echo $PWD/build/lib.linux-*)/Images
|
||||
cp -R $PWD/Tests $(echo $PWD/build/lib.linux-*)/Tests
|
||||
cp -a $PWD/selftest.py $(echo $PWD/build/lib.linux-*)/selftest.py
|
||||
pushd build/lib.linux-*
|
||||
PYTHONPATH=$PWD %{__python3} selftest.py
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user