From e43f53b54ca4efcdf31eae703b8947f5cc5d133f Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 27 Feb 2020 10:59:20 +0100 Subject: [PATCH] Disable tests for flatpak Building fortran self tests currently fails under flatpak build environment. Disable self tests when building for flatpak for now to work this around. --- numpy.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/numpy.spec b/numpy.spec index 6117f90..17cea8f 100644 --- a/numpy.spec +++ b/numpy.spec @@ -2,7 +2,11 @@ ##%global relc rc1 # Simple way to disable tests +%if 0%{?flatpak} +%bcond_with tests +%else %bcond_without tests +%endif %global modname numpy