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.
This commit is contained in:
Kalev Lember 2020-02-27 10:59:20 +01:00
parent 4576dd0752
commit e43f53b54c
1 changed files with 4 additions and 0 deletions

View File

@ -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