Accepting request 631437 from network

- 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.
- Removed the ExcludeArch for %{arm} since it now builds on that
  architecture.

OBS-URL: https://build.opensuse.org/request/show/631437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smc-tools?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-08-27 10:59:09 +00:00 committed by Git OBS Bridge
commit 09fc4538ef
5 changed files with 46 additions and 10 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,3 +1,30 @@
-------------------------------------------------------------------
Fri Jul 27 20:40:30 UTC 2018 - mpost@suse.com
- 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.
- Removed the ExcludeArch for %{arm} since it now builds on that
architecture.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 29 20:16:24 UTC 2017 - mpost@suse.com Fri Sep 29 20:16:24 UTC 2017 - mpost@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package smc-tools # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,14 @@
Name: smc-tools Name: smc-tools
Version: 1.0.0 Version: 1.1.0
Release: 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 Summary: Shared Memory Communication via RDMA
License: EPL-1.0 License: EPL-1.0
Group: System/Kernel Group: System/Kernel
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Source1: smc-tools-rpmlintrc
# aarch64 and ppc64le don't support 32bit applications, so there's no # aarch64 and ppc64le don't support 32bit applications, so there's no
# gcc-32bit package that can be installed # gcc-32bit package that can be installed
@ -32,8 +33,7 @@ BuildRequires: gcc-32bit
%define have_32bit 1 %define have_32bit 1
%endif %endif
BuildRequires: libnl3-devel BuildRequires: libnl3-devel
PreReq: permissions
ExcludeArch: %{arm}
# While repos other than Factory have 32bit for s390x, Factory does not # While repos other than Factory have 32bit for s390x, Factory does not
%if 0%{?suse_version} == 1330 %if 0%{?suse_version} == 1330
@ -65,15 +65,23 @@ make CFLAGS="${MYCFLAGS} %{optflags}"
rm -Rf "%{buildroot}/usr/lib64" rm -Rf "%{buildroot}/usr/lib64"
%endif %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 %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README.smctools LICENSE %doc README.smctools LICENSE
%{_bindir}/smc_pnet %{_bindir}/smc_pnet
%{_bindir}/smc_run %{_bindir}/smc_run
%{_bindir}/smcss %{_bindir}/smcss
%{_libdir}/ld_pre_smc.so %{_libdir}/libsmc-preload.so
%if 0%{?have_32bit} %if 0%{?have_32bit}
/usr/lib/ld_pre_smc.so /usr/lib/libsmc-preload.so
%endif %endif
%{_mandir}/man7/af_smc.7%{ext_man} %{_mandir}/man7/af_smc.7%{ext_man}
%{_mandir}/man8/smc_pnet.8%{ext_man} %{_mandir}/man8/smc_pnet.8%{ext_man}