packages: python3/python3.spec - rel 5; require /dev/shm (or any tmpfs actu...

arekm arekm at pld-linux.org
Thu May 31 11:58:46 CEST 2012


Author: arekm                        Date: Thu May 31 09:58:46 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 5; require /dev/shm (or any tmpfs actually) for shm_open and friends to work

---- Files affected:
packages/python3:
   python3.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: packages/python3/python3.spec
diff -u packages/python3/python3.spec:1.75 packages/python3/python3.spec:1.76
--- packages/python3/python3.spec:1.75	Thu May 31 10:35:17 2012
+++ packages/python3/python3.spec	Thu May 31 11:58:41 2012
@@ -35,7 +35,7 @@
 Summary(uk.UTF-8):	Мова програмування дуже високого рівня з X-інтерфейсом
 Name:		python3
 Version:	%{py_ver}.3
-Release:	4
+Release:	5
 Epoch:		1
 License:	PSF
 Group:		Applications
@@ -449,6 +449,12 @@
 %patch4 -p1
 %patch5 -p1
 
+if ! grep -q "tmpfs" /proc/self/mounts; then
+	echo "You need to have /dev/shm mounted in order to build this package!" >&2
+	echo "(Or any other tmpfs mounted and accessible to the rpmbuild process)" >&2
+	exit 1
+fi
+
 %build
 %{__autoconf}
 CPPFLAGS="-I/usr/include/ncursesw %{rpmcppflags}"; export CPPFLAGS
@@ -1182,6 +1188,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2012/05/31 09:58:41  arekm
+- rel 5; require /dev/shm (or any tmpfs actually) for shm_open and friends to work
+
 Revision 1.75  2012/05/31 08:35:17  arekm
 - rel 4; our Makefile is always in libdir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/python3/python3.spec?r1=1.75&r2=1.76



More information about the pld-cvs-commit mailing list