- Upgraded to version 1.1.0 (Fates 325009 and 325168)

Changes:
  * smcss:    Add IPv6 support
  * preload:  Add IPv6 support
  * smcss:    Output format changed
  * preload:  Rename preload library into libsmc-preload.so
  * Makefile: Improve distro compatibility
  * Makefile: Add SONAME to shared libraries
  * Makefile: Do not strip binaries on install
  * Makefile: Use LDFLAGS to allow addition of externally set link flags
  * libsmc..: Remove hardcoded reference to libc
  * Manpages: Formatting changes
  Bug fixes:
  * Makefile: Fix target 'install' dependencies
  * smcss:    Fix "--version" output
  * smc_pnet: Fix "--version" output
  * smc_run:	Append preload library to LD_PRELOAD instead of potentially
                overwriting pre-set values
  * preload:  Set suid flag to work with suid executables
- Updated the spec file to reference the new names for the shared
  library.

OBS-URL: https://build.opensuse.org/package/show/network/smc-tools?expand=0&rev=14
This commit is contained in:
Mark Post 2018-08-10 23:20:19 +00:00 committed by Git OBS Bridge
parent 63a27aaf03
commit e018e05687
5 changed files with 44 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5829cdcd75493772b5910689c85db6fdaaf9680c77fb61416b16fc02ec131089
size 20256

3
smc-tools-1.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62f1b287129fa41ad4664094033fbe7f8afc85cc9ec08805cb3be1ddd3233bb4
size 20870

1
smc-tools-rpmlintrc Normal file
View File

@ -0,0 +1 @@
addFilter("shlib-policy-name-error")

View File

@ -1,8 +1,27 @@
-------------------------------------------------------------------
Fri Sep 29 20:16:24 UTC 2017 - mpost@suse.com
Fri Jul 27 20:40:30 UTC 2018 - mpost@suse.com
- Added an ExcludeArch for %{arm} so that we won't try to build
the package on armv7l. The build fails on that architecture.
- Upgraded to version 1.1.0 (Fates 325009 and 325168)
Changes:
* smcss: Add IPv6 support
* preload: Add IPv6 support
* smcss: Output format changed
* preload: Rename preload library into libsmc-preload.so
* Makefile: Improve distro compatibility
* Makefile: Add SONAME to shared libraries
* Makefile: Do not strip binaries on install
* Makefile: Use LDFLAGS to allow addition of externally set link flags
* libsmc..: Remove hardcoded reference to libc
* Manpages: Formatting changes
Bug fixes:
* Makefile: Fix target 'install' dependencies
* smcss: Fix "--version" output
* smc_pnet: Fix "--version" output
* smc_run: Append preload library to LD_PRELOAD instead of potentially
overwriting pre-set values
* preload: Set suid flag to work with suid executables
- Updated the spec file to reference the new names for the shared
library.
-------------------------------------------------------------------
Mon Apr 3 13:45:31 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package smc-tools
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,14 @@
Name: smc-tools
Version: 1.0.0
Version: 1.1.0
Release: 0
Url: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html
Url: https://www.ibm.com/developerworks/linux/linux390/
Summary: Shared Memory Communication via RDMA
License: EPL-1.0
Group: System/Kernel
Source: %{name}-%{version}.tar.gz
Source1: smc-tools-rpmlintrc
# aarch64 and ppc64le don't support 32bit applications, so there's no
# gcc-32bit package that can be installed
@ -32,13 +33,12 @@ BuildRequires: gcc-32bit
%define have_32bit 1
%endif
BuildRequires: libnl3-devel
ExcludeArch: %{arm}
PreReq: permissions
# While repos other than Factory have 32bit for s390x, Factory does not
%if 0%{?suse_version} == 1330
%ifarch s390x
%define have_32bit 0
%define have_32bit 0
%endif
%endif
@ -56,24 +56,32 @@ to use a RoCE network without needing to make changes in them.
%build
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
make CFLAGS="${MYCFLAGS} %{optflags}"
make V=1 CFLAGS="${MYCFLAGS} %{optflags}"
%install
%make_install
%make_install V=1
%ifarch s390 %{ix86}
rm -Rf "%{buildroot}/usr/lib64"
%endif
%verifyscript
%verify_permissions -e /usr/lib/libsmc-preload.so
%verify_permissions -e %{_libdir}/libsmc-preload.so
%post
%set_permissions /usr/lib/libsmc-preload.so
%set_permissions %{_libdir}/libsmc-preload.so
%files
%defattr(-,root,root)
%doc README.smctools LICENSE
%{_bindir}/smc_pnet
%{_bindir}/smc_run
%{_bindir}/smcss
%{_libdir}/ld_pre_smc.so
%{_libdir}/libsmc-preload.so
%if 0%{?have_32bit}
/usr/lib/ld_pre_smc.so
/usr/lib/libsmc-preload.so
%endif
%{_mandir}/man7/af_smc.7%{ext_man}
%{_mandir}/man8/smc_pnet.8%{ext_man}