Use psm/psm2 if possible on Fedora (bug #1340988)

This commit is contained in:
Orion Poplawski 2016-05-31 10:43:14 -06:00
parent 7929bb2016
commit d94c048718

View File

@ -1,6 +1,6 @@
Name: libfabric
Version: 1.3.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Open Fabric Interfaces
License: BSD or GPLv2
@ -11,10 +11,10 @@ BuildRequires: libibverbs-devel
BuildRequires: libnl3-devel
BuildRequires: librdmacm-devel
%ifarch x86_64
%if 0%{?rhel} >= 6
%if 0%{?fedora} || 0%{?rhel} >= 6
BuildRequires: infinipath-psm-devel
%endif
%if 0%{?rhel} >= 7
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 7
BuildRequires: libpsm2-devel
%endif
%endif
@ -78,6 +78,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog
* Tue May 31 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.0-2
- Use psm/psm2 if possible on Fedora (bug #1340988)
* Tue Apr 12 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.0-1
- Update to 1.3.0