diff --git a/smc-tools-1.3.1.tar.gz b/smc-tools-1.3.1.tar.gz deleted file mode 100644 index 85896b5..0000000 --- a/smc-tools-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5929e5ffb8610387224b49ea401620277d82e0f491b23f4ad96c9a96e172e4b0 -size 25953 diff --git a/smc-tools-1.4.0.tar.gz b/smc-tools-1.4.0.tar.gz new file mode 100644 index 0000000..2cad0ec --- /dev/null +++ b/smc-tools-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a3dcc71a2d5797a26ef1cbaff7abba76264670bb9f612068200e4e526340baa +size 44160 diff --git a/smc-tools.changes b/smc-tools.changes index 65d911e..ee4ae50 100644 --- a/smc-tools.changes +++ b/smc-tools.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Dec 7 22:10:32 UTC 2020 - Mark Post + +- Upgraded to version 1.4.0 (bsc#1179554, jsc#SLE-13707) + * Changes: + - Add SMC-Dv2 support + - `smc`: Add new tools `smcd` and `smcr` to list linkgroups, links and + devices. Requires Linux kernel 5.11 or higher. + - `smc_rnics`: Display enabled devices per default, add new option `--all` + - `smc_rnics`: Sort output by FID + * Bug fixes: + - `smc_rnics`/`smc_dbg`: Fix PNETID for multiport devices + - `smcss`/`smc_pnet`: Consistent use of option `-v` +- Changed the %setup macro to %autosetup in the spec file. + ------------------------------------------------------------------- Wed Sep 16 16:37:51 UTC 2020 - Mark Post diff --git a/smc-tools.spec b/smc-tools.spec index ac06e59..6721286 100644 --- a/smc-tools.spec +++ b/smc-tools.spec @@ -17,7 +17,7 @@ Name: smc-tools -Version: 1.3.1 +Version: 1.4.0 Release: 0 Summary: Shared Memory Communication via RDMA License: EPL-1.0 @@ -39,10 +39,15 @@ 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 +%autosetup -p1 %build -MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=) +# The next two lines are to get around the Makefile not adding +# its own values to CFLAGS if it is already set. This is needed +# so that we can specify the optflags macro to pull in our own +# parameters. +MYCFLAGS=$(grep ^CFLAGS Makefile | head -n1 | cut -f2 -d=) +MYCFLAGS+=" $(pkg-config --silence-errors --cflags libnl-genl-3.0)" make %{?_smp_mflags} V=1 CFLAGS="${MYCFLAGS} %{optflags}" %install @@ -62,10 +67,12 @@ rm -Rf "%{buildroot}%{_prefix}/lib64" %files %license LICENSE -%doc README.smctools +%doc README.md %{_bindir}/smc_dbg %{_bindir}/smc_pnet %{_bindir}/smc_run +%{_bindir}/smcd +%{_bindir}/smcr %ifarch s390 s390x %{_bindir}/smc_rnics %endif @@ -77,6 +84,12 @@ rm -Rf "%{buildroot}%{_prefix}/lib64" %{_mandir}/man8/smc_rnics.8%{?ext_man} %endif %{_mandir}/man8/smc_run.8%{?ext_man} +%{_mandir}/man8/smcd-device.8%{?ext_man} +%{_mandir}/man8/smcd-linkgroup.8%{?ext_man} +%{_mandir}/man8/smcd.8%{?ext_man} +%{_mandir}/man8/smcr-device.8%{?ext_man} +%{_mandir}/man8/smcr-linkgroup.8%{?ext_man} +%{_mandir}/man8/smcr.8%{?ext_man} %{_mandir}/man8/smcss.8%{?ext_man} %changelog