[packages/xdmf] - fix python detection - rel 3

baggins baggins at pld-linux.org
Mon Nov 24 00:30:11 CET 2014


commit 6c0007a2f0a3b9f0fcad80fc67fd3ed50cac76ab
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Nov 24 00:29:57 2014 +0100

    - fix python detection
    - rel 3

 xdmf.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/xdmf.spec b/xdmf.spec
index 880a9b1..102f930 100644
--- a/xdmf.spec
+++ b/xdmf.spec
@@ -8,7 +8,7 @@
 %bcond_with	mpi	# MPI support
 %bcond_with	utils	# build XdmfUtils (see TODO above)
 #
-%define		rel 2
+%define		rel 3
 Summary:	eXtensible Data Model and Format library
 Summary(pl.UTF-8):	Biblioteka rozszerzalnego modelu i formatu danych (XDMF)
 Name:		xdmf
@@ -89,7 +89,8 @@ Pythonowy interfejs do biblioteki Xdmf.
 mkdir build
 cd build
 %cmake .. \
-	-DPythonLibs_FIND_VERSION=%{py_ver} \
+	-DPythonLibs_FIND_VERSION=2 \
+	-DPythonLibs_FIND_VERSION_MAJOR=2 \
 	%{!?with_mpi:-DXDMF_BUILD_MPI=OFF} \
 	%{?with_utils:-DXDMF_BUILD_UTILS=ON} \
 	-DXDMF_SYSTEM_HDF5=ON \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xdmf.git/commitdiff/6c0007a2f0a3b9f0fcad80fc67fd3ed50cac76ab



More information about the pld-cvs-commit mailing list