Undefine _include_frame_pointers on riscv64

https://github.com/python-greenlet/greenlet/pull/300

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-14 14:19:59 +02:00
parent 9b0b491091
commit e179fbbee1
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 9 additions and 1 deletions

View File

@ -1,8 +1,13 @@
%global modname greenlet
%ifarch riscv64
# to avoid compile time errors
%undefine _include_frame_pointers
%endif
Name: python-%{modname}
Version: 3.0.0
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
Summary: Lightweight in-process concurrent programming
License: MIT AND PSF-2.0
URL: https://github.com/python-greenlet/greenlet
@ -67,6 +72,9 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}" \
%{_includedir}/python%{python3_version}*/%{modname}/
%changelog
* Mon Nov 14 2023 David Abdurachmanov <davidlt@rivosinc.com> - 3.0.0-1.0.riscv64
- Undefine _include_frame_pointers for riscv64
* Sat Oct 14 2023 Terje Rosten <terje.rosten@ntnu.no> - 3.0.0-1
- 3.0.0