]> git.pld-linux.org Git - packages/hdf5.git/commitdiff
- yet another cmake fsckup auto/th/hdf5-1.8.15-4
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 17 Jul 2015 14:04:45 +0000 (16:04 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 17 Jul 2015 14:04:45 +0000 (16:04 +0200)
- rel 4

hdf5.spec

index f2233f4851b78da2f885d07cb7d045aac0789119..e22651f0945c3af46c6e35a3bbcc4fbfca34391e 100644 (file)
--- 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,@HDF5_ENABLE_Z_LIB_SUPPORT@,ON,' \
            -e 's,@HDF5_ENABLE_SZIP_SUPPORT@,%{?with_szip:ON}%{!?with_szip:OFF},' \
            -e 's,@HDF5_ENABLE_SZIP_ENCODING@,%{?with_szip:ON}%{!?with_szip:OFF},' \
+%ifarch %{ix86} x32
+           -e 's,@CMAKE_SIZEOF_VOID_P@,4,' \
+%else
+%ifarch %{x8664}
+           -e 's,@CMAKE_SIZEOF_VOID_P@,8,' \
+%endif
+%endif
            -e 's,@BUILD_SHARED_LIBS@,ON,' \
            -e 's,@HDF5_PACKAGE_EXTLIBS@,OFF,' \
            -e 's,@ZLIB_PACKAGE_NAME@,zlib,' \
This page took 0.123515 seconds and 4 git commands to generate.