From 5a35f580faf7d01b6dae15a657146f4bba60cb09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Fri, 16 Apr 2021 14:10:37 +0200 Subject: [PATCH] Disable tests by default - resolves: #1928123 --- numpy.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/numpy.spec b/numpy.spec index ae9f70a..28f0fb7 100644 --- a/numpy.spec +++ b/numpy.spec @@ -1,12 +1,7 @@ #uncomment next line for a release candidate or a beta #%%global relc rc1 -# Simple way to disable tests -%if 0%{?flatpak} %bcond_with tests -%else -%bcond_without tests -%endif %if 0%{?fedora} >= 33 || 0%{?rhel} >= 9 %global blaslib flexiblas @@ -20,7 +15,7 @@ Name: numpy Version: 1.20.1 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Summary: A fast multidimensional array facility for Python @@ -59,8 +54,8 @@ BuildRequires: python3-setuptools BuildRequires: python3-Cython BuildRequires: gcc-gfortran gcc BuildRequires: lapack-devel -BuildRequires: python3-hypothesis %if %{with tests} +BuildRequires: python3-hypothesis BuildRequires: python3-pytest BuildRequires: python3-test %endif @@ -194,6 +189,9 @@ python3 runtests.py %changelog +* Fri Apr 16 2021 Nikola Forró - 1:1.20.1-3 +- Disable tests by default (#1928123) + * Fri Apr 16 2021 Mohan Boddu - 1:1.20.1-2 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937