[packages/hdf5] - yet another cmake fsckup - rel 4

baggins baggins at pld-linux.org
Fri Jul 17 16:05:05 CEST 2015


commit a512413510cf19f7e92fc55a0c31b0241e070894
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Jul 17 16:04:45 2015 +0200

    - yet another cmake fsckup
    - rel 4

 hdf5.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/hdf5.spec b/hdf5.spec
index f2233f4..e22651f 100644
--- a/hdf5.spec
+++ b/hdf5.spec
@@ -11,7 +11,7 @@ Summary:	Hierarchical Data Format 5 library
 Summary(pl.UTF-8):	Biblioteka HDF5 (Hierarchical Data Format 5)
 Name:		hdf5
 Version:	1.8.15
-Release:	3
+Release:	4
 License:	Nearly BSD, but changed sources must be marked
 Group:		Libraries
 Source0:	ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.bz2
@@ -243,6 +243,13 @@ for f in FindHDF5.cmake hdf5-config-version.cmake hdf5-config.cmake hdf5-targets
 	    -e 's, at HDF5_ENABLE_Z_LIB_SUPPORT@,ON,' \
 	    -e 's, at HDF5_ENABLE_SZIP_SUPPORT@,%{?with_szip:ON}%{!?with_szip:OFF},' \
 	    -e 's, at HDF5_ENABLE_SZIP_ENCODING@,%{?with_szip:ON}%{!?with_szip:OFF},' \
+%ifarch %{ix86} x32
+	    -e 's, at CMAKE_SIZEOF_VOID_P@,4,' \
+%else
+%ifarch %{x8664}
+	    -e 's, at CMAKE_SIZEOF_VOID_P@,8,' \
+%endif
+%endif
 	    -e 's, at BUILD_SHARED_LIBS@,ON,' \
 	    -e 's, at HDF5_PACKAGE_EXTLIBS@,OFF,' \
 	    -e 's, at ZLIB_PACKAGE_NAME@,zlib,' \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hdf5.git/commitdiff/a512413510cf19f7e92fc55a0c31b0241e070894



More information about the pld-cvs-commit mailing list