diff --git a/smc-tools-1.0.0.tar.gz b/smc-tools-1.0.0.tar.gz deleted file mode 100644 index 402544a..0000000 --- a/smc-tools-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5829cdcd75493772b5910689c85db6fdaaf9680c77fb61416b16fc02ec131089 -size 20256 diff --git a/smc-tools-1.1.0.tar.gz b/smc-tools-1.1.0.tar.gz new file mode 100644 index 0000000..887513d --- /dev/null +++ b/smc-tools-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62f1b287129fa41ad4664094033fbe7f8afc85cc9ec08805cb3be1ddd3233bb4 +size 20870 diff --git a/smc-tools-rpmlintrc b/smc-tools-rpmlintrc new file mode 100644 index 0000000..be4ee7e --- /dev/null +++ b/smc-tools-rpmlintrc @@ -0,0 +1 @@ +addFilter("shlib-policy-name-error") diff --git a/smc-tools.changes b/smc-tools.changes index be5f2f2..c6a2bfb 100644 --- a/smc-tools.changes +++ b/smc-tools.changes @@ -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 diff --git a/smc-tools.spec b/smc-tools.spec index a8db73b..b1cb12f 100644 --- a/smc-tools.spec +++ b/smc-tools.spec @@ -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,8 +33,7 @@ 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 @@ -65,15 +65,23 @@ make CFLAGS="${MYCFLAGS} %{optflags}" 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}