From 6c0007a2f0a3b9f0fcad80fc67fd3ed50cac76ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 24 Nov 2014 00:29:57 +0100 Subject: [PATCH] - 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 \ -- 2.44.0