|
|
|
@ -45,9 +45,6 @@ BuildRequires: pyproject-rpm-macros
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: xsimd-devel >= 8
|
|
|
|
|
|
|
|
|
|
# For docs
|
|
|
|
|
BuildRequires: pandoc
|
|
|
|
|
|
|
|
|
|
# For tests
|
|
|
|
|
BuildRequires: /usr/bin/python
|
|
|
|
|
# this is used for supporting -n auto in %%pytest
|
|
|
|
@ -94,13 +91,12 @@ sed -i -e 's/-O0/-O1/g' -e 's/-Werror/-w/g' pythran/tests/__init__.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires -x doc,test
|
|
|
|
|
%pyproject_buildrequires -x test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
PYTHONPATH=$PWD make -C docs html
|
|
|
|
|
rm -rf docs/_build/html/.{doctrees,buildinfo}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -148,7 +144,6 @@ k="$k and not test_setup_bdist_install3"
|
|
|
|
|
%files -f %{pyproject_files}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%doc docs/_build/html
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_bindir}/%{name}-config
|
|
|
|
|
|
|
|
|
|