]> git.pld-linux.org Git - packages/libfabric.git/commitdiff
- updated to 1.2.0 auto/th/libfabric-1.2.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 9 Jan 2016 14:15:49 +0000 (15:15 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 9 Jan 2016 14:15:49 +0000 (15:15 +0100)
- added sh patch (fixes build with POSIX sh without bash extensions)

libfabric-sh.patch [new file with mode: 0644]
libfabric.spec

diff --git a/libfabric-sh.patch b/libfabric-sh.patch
new file mode 100644 (file)
index 0000000..35b0327
--- /dev/null
@@ -0,0 +1,11 @@
+--- libfabric-1.2.0/prov/gni/configure.m4.orig 2016-01-07 18:18:21.000000000 +0100
++++ libfabric-1.2.0/prov/gni/configure.m4      2016-01-09 08:48:39.320641547 +0100
+@@ -40,7 +40,7 @@
+                                  [alps_util_happy=0])
+              ])
+-       gni_path_to_gni_pub=${CRAY_GNI_HEADERS_CFLAGS:2}
++       gni_path_to_gni_pub=${CRAY_GNI_HEADERS_CFLAGS#-I}
+ dnl looks like we need to get rid of some white space
+        gni_path_to_gni_pub=${gni_path_to_gni_pub%?}/gni_pub.h
index 0455f9c6e32e9a972ba8773f4fb97cf9240ccb71..9aa743ee067d33ba6cb24847100e963d4335dd8b 100644 (file)
@@ -1,3 +1,4 @@
+# TODO: proprietary providers (cray/gni, mxm)
 #
 # Conditional build:
 %bcond_with    psm     # infinipath-psm provider
@@ -8,12 +9,13 @@
 Summary:       User-space RDMA Fabric interface library
 Summary(pl.UTF-8):     Biblioteka interfejsu przestrzeni użytkownika RDMA Fabric
 Name:          libfabric
-Version:       1.1.1
-Release:       2
+Version:       1.2.0
+Release:       1
 License:       BSD or GPL v2
 Group:         Libraries
 Source0:       https://www.openfabrics.org/downloads/ofi/%{name}-%{version}.tar.bz2
-# Source0-md5: c5f86da66ffe6685d3413ebf0498c563
+# Source0-md5: e4ccb6b3abc1a9c13e9ad066e6c14dc3
+Patch0:                %{name}-sh.patch
 URL:           https://github.com/ofiwg/libfabric
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.11
@@ -38,6 +40,9 @@ Summary:      Development files for libfabric library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki libfabric
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      libibverbs-devel
+Requires:      libnl-devel >= 3.2
+Requires:      librdmacm-devel
 
 %description devel
 Header files for libfabric library.
@@ -59,6 +64,7 @@ Statyczna biblioteka libfabric.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -77,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfabric.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -93,9 +102,9 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libfabric.so
-%{_libdir}/libfabric.la
 %{_includedir}/rdma/fabric.h
 %{_includedir}/rdma/fi_*.h
+%{_pkgconfigdir}/libfabric.pc
 %{_mandir}/man3/fi_*.3*
 %{_mandir}/man7/fabric.7*
 %{_mandir}/man7/fi_*.7*
This page took 0.076441 seconds and 4 git commands to generate.