diff --git a/scipy.spec b/scipy.spec index 90361ef..da10761 100644 --- a/scipy.spec +++ b/scipy.spec @@ -4,7 +4,11 @@ # Pythran is an optional build dependency. # When used, it makes some modules faster, # but it is usually not available soon enough for new major Python versions. +%ifnarch riscv64 %bcond_without pythran +%else +%bcond_with pythran +%endif # The code is not safe to build with LTO %global _lto_cflags %{nil}