[packages/python3-numpy] - requires /dev/shm for build and tests stage

qboosh qboosh at pld-linux.org
Sat Sep 3 08:58:37 CEST 2022


commit 22d6751bb4d3a2c9c7fe7bbbdf906116d2754f91
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 3 08:58:43 2022 +0200

    - requires /dev/shm for build and tests stage

 python3-numpy.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/python3-numpy.spec b/python3-numpy.spec
index eb8a034..e68fe4b 100644
--- a/python3-numpy.spec
+++ b/python3-numpy.spec
@@ -16,6 +16,9 @@ Source0:	https://github.com/numpy/numpy/releases/download/v%{version}/%{module}-
 # Source0-md5:	5b506b01ef454f39272ca75de1c7f61c
 Patch0:		%{name}-deprecated.patch
 URL:		https://github.com/numpy/numpy
+%if "%(test -w /dev/shm ; echo $?)" != "0"
+BuildRequires:	WRITABLE(/dev/shm)
+%endif
 BuildRequires:	gcc-fortran
 BuildRequires:	lapack-devel >= 3.1.1-2
 BuildRequires:	python3-Cython >= 0.29.24
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-numpy.git/commitdiff/22d6751bb4d3a2c9c7fe7bbbdf906116d2754f91



More information about the pld-cvs-commit mailing list