Accepting request 949789 from home:bnavigator:branches:devel:languages:python:numeric
- Fix errors uncovered by staging: * Mention python-pythran-rpmlintrc * also make :test-py* noarch so that no debuginfo package fails - Required by scipy 1.7 OBS-URL: https://build.opensuse.org/request/show/949789 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pythran?expand=0&rev=2
This commit is contained in:
parent
de3ed981e5
commit
3a6ba38613
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 28 18:47:52 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Fix errors uncovered by staging:
|
||||||
|
* Mention python-pythran-rpmlintrc
|
||||||
|
* also make :test-py* noarch so that no debuginfo package fails
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 23 15:10:57 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Sun Jan 23 15:10:57 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ ExclusiveArch: x86_64
|
|||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
%endif
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
@ -52,7 +51,8 @@ Summary: Ahead of Time compiler for numeric kernels
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/serge-sans-paille/pythran
|
URL: https://github.com/serge-sans-paille/pythran
|
||||||
# Tests are only availble in github archive
|
# Tests are only availble in github archive
|
||||||
Source: https://github.com/serge-sans-paille/pythran/archive/refs/tags/%{version}.tar.gz#/pythran-%{version}-gh.tar.gz
|
Source0: https://github.com/serge-sans-paille/pythran/archive/refs/tags/%{version}.tar.gz#/pythran-%{version}-gh.tar.gz
|
||||||
|
Source99: python-pythran-rpmlintrc
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -79,6 +79,7 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%endif
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -114,8 +115,8 @@ sed -i -e 's/-O0/-O1/g' -e 's/-Werror/-w/g' pythran/tests/__init__.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
%check
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
# crashes the xdist workers
|
# crashes the xdist workers
|
||||||
donttest="test_operator_intersection"
|
donttest="test_operator_intersection"
|
||||||
|
Loading…
Reference in New Issue
Block a user