4f84c4f6c4
- Upgraded to version 1.3.1 (jsc#SLE-14630, jsc#SLE-14470) * Version 1.3.1 Changes: smcss: Add further error codes to man page Bug fixes: smcss: Display more than 321 connections smc_rnics: Suppress any unknown non-networking device unless option -r is specified * Version 1.3.0 Changes: smcss: Add description of Linux error codes to man page smc_rnics: * Sort output by PCHID * Replace spaces in output by underscores for easier parsing * Add new option --IB-dev to display IB-specific attributes Bug fixes: smc_rnics: * FIDs can have up to 4 digits and are planned to be extended to a total of 8 digits - adjusting output format accordingly * Do not display port attribute for RoCE Express2 devices unless we have an accurate value OBS-URL: https://build.opensuse.org/request/show/835902 OBS-URL: https://build.opensuse.org/package/show/network/smc-tools?expand=0&rev=25
83 lines
2.3 KiB
RPMSpec
83 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package smc-tools
|
|
#
|
|
# Copyright (c) 2018-2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: smc-tools
|
|
Version: 1.3.1
|
|
Release: 0
|
|
Summary: Shared Memory Communication via RDMA
|
|
License: EPL-1.0
|
|
Group: System/Kernel
|
|
URL: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html
|
|
Source: %{name}-%{version}.tar.gz
|
|
Source1: smc-tools-rpmlintrc
|
|
|
|
BuildRequires: libnl3-devel
|
|
PreReq: permissions
|
|
|
|
%description
|
|
Shared Memory Communication via RDMA (SMC) is a socket over RDMA
|
|
communication protocol that allows existing TCP socket applications to
|
|
transparently benefit from RDMA when exchanging data via an RDMA over
|
|
Converged Ethernet (RoCE) network.
|
|
|
|
The tools provided in this package allow existing TCP applications
|
|
to use a RoCE network without needing to make changes in them.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
|
|
make %{?_smp_mflags} V=1 CFLAGS="${MYCFLAGS} %{optflags}"
|
|
|
|
%install
|
|
%make_install V=1
|
|
|
|
%ifarch s390 %{ix86}
|
|
rm -Rf "%{buildroot}%{_prefix}/lib64"
|
|
%endif
|
|
|
|
%verifyscript
|
|
%verify_permissions -e %{_prefix}/lib/libsmc-preload.so
|
|
%verify_permissions -e %{_libdir}/libsmc-preload.so
|
|
|
|
%post
|
|
%set_permissions %{_prefix}/lib/libsmc-preload.so
|
|
%set_permissions %{_libdir}/libsmc-preload.so
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.smctools
|
|
%{_bindir}/smc_dbg
|
|
%{_bindir}/smc_pnet
|
|
%{_bindir}/smc_run
|
|
%ifarch s390 s390x
|
|
%{_bindir}/smc_rnics
|
|
%endif
|
|
%{_bindir}/smcss
|
|
%{_libdir}/libsmc-preload.so
|
|
%{_mandir}/man7/af_smc.7%{?ext_man}
|
|
%{_mandir}/man8/smc_pnet.8%{?ext_man}
|
|
%ifarch s390 s390x
|
|
%{_mandir}/man8/smc_rnics.8%{?ext_man}
|
|
%endif
|
|
%{_mandir}/man8/smc_run.8%{?ext_man}
|
|
%{_mandir}/man8/smcss.8%{?ext_man}
|
|
|
|
%changelog
|