Compare commits
8 Commits
imports/c8
...
c8
Author | SHA1 | Date | |
---|---|---|---|
3e67c07cfe | |||
|
b7a189460a | ||
|
3eb3604a08 | ||
|
4eca72a8b8 | ||
|
c544a695ad | ||
|
1717e4d48a | ||
|
8f8309f6d0 | ||
|
83ddcebbd6 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/smc-tools-1.2.1.tar.gz
|
SOURCES/1.8.3.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
53aedb787c3aaa2ced27ac9986908f0507a44389 SOURCES/smc-tools-1.2.1.tar.gz
|
|
29
SOURCES/smc-tools-1.6.0-smc_chk-py3.patch
Normal file
29
SOURCES/smc-tools-1.6.0-smc_chk-py3.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
--- a/smc_chk 2021-07-02 12:23:56.000000000 +0200
|
||||||
|
+++ b/smc_chk 2021-07-16 14:48:40.988000000 +0200
|
||||||
|
@@ -108,7 +108,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
function is_python3_available() {
|
||||||
|
- if ! which python3 >/dev/null; then
|
||||||
|
+ if ! which /usr/libexec/platform-python >/dev/null; then
|
||||||
|
echo "Error: python3 is not available";
|
||||||
|
signal_handler;
|
||||||
|
fi
|
||||||
|
@@ -124,7 +124,7 @@
|
||||||
|
port6=`get_free_port $(expr $port + 1)`;
|
||||||
|
srv=`mktemp /tmp/echo-srv.XXXXXX`;
|
||||||
|
cat <<-EOF > $srv
|
||||||
|
-#!/usr/bin/env python3
|
||||||
|
+#!/usr/libexec/platform-python
|
||||||
|
|
||||||
|
import argparse
|
||||||
|
import signal
|
||||||
|
@@ -171,7 +171,7 @@
|
||||||
|
is_python3_available;
|
||||||
|
clt=`mktemp /tmp/echo-clt.XXXXXX`;
|
||||||
|
cat <<-EOF > $clt
|
||||||
|
-#!/usr/bin/env python3
|
||||||
|
+#!/usr/libexec/platform-python
|
||||||
|
|
||||||
|
import argparse
|
||||||
|
import socket
|
@ -1,51 +1,115 @@
|
|||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: smc-tools
|
Name: smc-tools
|
||||||
Version: 1.2.1
|
Version: 1.8.3
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Shared Memory Communication Tools
|
Summary: Shared Memory Communication Tools
|
||||||
|
|
||||||
License: EPL
|
License: EPL
|
||||||
URL: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html
|
URL: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html
|
||||||
Source0: https://public.dhe.ibm.com/software/dw/linux390/ht_src/%{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
|
Requires: man
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libnl3-devel
|
BuildRequires: libnl3-devel
|
||||||
|
BuildRequires: bash-completion
|
||||||
|
|
||||||
|
Source0: https://github.com/ibm-s390-linux/%{name}/archive/refs/tags/%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: smc-tools-1.6.0-smc_chk-py3.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Shared Memory Communication Tools (smc-tools) package enables usage of SMC
|
The Shared Memory Communication Tools (smc-tools) package enables usage of SMC
|
||||||
sockets in Linux.
|
sockets in Linux.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%forgesetup
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" V=1
|
%make_build CFLAGS="%{build_cflags} -I%{_includedir}/libnl3" LDFLAGS="%{build_ldflags}" V=1
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install V=1
|
%make_install V=1
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.smctools
|
%doc README.md
|
||||||
|
%{_datadir}/bash-completion/
|
||||||
|
%{_mandir}/man7/af_smc.7.gz
|
||||||
|
%{_mandir}/man8/smc*
|
||||||
%{_bindir}/smc_pnet
|
%{_bindir}/smc_pnet
|
||||||
%{_bindir}/smc_run
|
%{_bindir}/smc_run
|
||||||
%{_bindir}/smcss
|
%{_bindir}/smcss
|
||||||
|
%{_bindir}/smcd
|
||||||
|
%{_bindir}/smcr
|
||||||
|
%{_bindir}/smc_dbg
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
%{_bindir}/smc_rnics
|
%{_bindir}/smc_rnics
|
||||||
%{_mandir}/man8/smc_rnics.8*
|
%{_bindir}/smc_chk
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/smc_dbg
|
%{_bindir}/smc_dbg
|
||||||
%{_libdir}/libsmc-preload.so*
|
%{_libdir}/libsmc-preload.so*
|
||||||
%{_mandir}/man7/af_smc.7*
|
|
||||||
%{_mandir}/man8/smc_pnet.8*
|
|
||||||
%{_mandir}/man8/smc_run.8*
|
|
||||||
%{_mandir}/man8/smcss.8*
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 09 2023 Čestmír Kalina <ckalina@redhat.com> - 1.8.3-1
|
||||||
|
- Resolves: RHEL-11417 Upgrade smc-tools to latest version
|
||||||
|
- smc_stats: Fix man page name
|
||||||
|
- Bump version.
|
||||||
|
|
||||||
|
* Mon Dec 05 2022 Čestmír Kalina <ckalina@redhat.com> - 1.8.2-1
|
||||||
|
- Resolves: #2110414 Upgrade smc-tools to latest version
|
||||||
|
|
||||||
|
* Thu Jun 23 2022 Čestmír Kalina <ckalina@redhat.com> - 1.8.1-1
|
||||||
|
- Upgrade smc-tools to latest version
|
||||||
|
- Add User-defined EID (Enterprise ID) Support
|
||||||
|
- Resolves: #1919228
|
||||||
|
- Resolves: #2043841
|
||||||
|
|
||||||
|
* Mon Oct 18 2021 Čestmír Kalina <ckalina@redhat.com> - 1.6.1-1
|
||||||
|
- Upgrade smc-tools to latest version
|
||||||
|
- Resolves: #1984975
|
||||||
|
|
||||||
|
* Fri Jul 16 2021 Čestmír Kalina <ckalina@redhat.com> - 1.6.0-3
|
||||||
|
- Patch stats.c to fix overruns
|
||||||
|
- Patch stats.c to fix leaks
|
||||||
|
- Patch stats.c to fix fallback counter values
|
||||||
|
- Resolves: #1993469
|
||||||
|
|
||||||
|
* Fri Jul 16 2021 Čestmír Kalina <ckalina@redhat.com> - 1.6.0-2
|
||||||
|
- Patch smc_chk to use platform-python
|
||||||
|
- Resolves: #1981727
|
||||||
|
|
||||||
|
* Fri Jul 02 2021 Čestmír Kalina <ckalina@redhat.com> - 1.6.0-1
|
||||||
|
- Resolves: #1869292 Statistics Support - smc-tools part
|
||||||
|
- Resolves: #1919225 Add SMC-D Setup Check (smc-tools)
|
||||||
|
- Resolves: #1919240 Upgrade smc-tools to latest version
|
||||||
|
* Wed Feb 10 2021 Čestmír Kalina <ckalina@redhat.com> - 1.5.0-2
|
||||||
|
- Resolves: #1924787
|
||||||
|
- Add python3/man requires
|
||||||
|
* Mon Feb 08 2021 Čestmír Kalina <ckalina@redhat.com> - 1.5.0-1
|
||||||
|
- Resolves: #1924787
|
||||||
|
- Upgrade to 1.5.0
|
||||||
|
* Mon Jan 04 2021 Čestmír Kalina <ckalina@redhat.com> - 1.4.0-3
|
||||||
|
- Resolves: #1879128
|
||||||
|
- Add bash-completion to build requires
|
||||||
|
|
||||||
|
* Mon Jan 04 2021 Čestmír Kalina <ckalina@redhat.com> - 1.4.0-1
|
||||||
|
- Resolves: #1851143
|
||||||
|
- Update to 1.4.0
|
||||||
|
- Explicitly state libnl3 in include path
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Čestmír Kalina <ckalina@redhat.com> - 1.3.0-1
|
||||||
|
- Resolves: #1780304
|
||||||
|
- Update to 1.3.0
|
||||||
|
|
||||||
|
* Wed Nov 06 2019 Čestmír Kalina <ckalina@redhat.com> - 1.2.2-3
|
||||||
|
- Resolves: rhbz#1726264
|
||||||
|
- Release bump to force brew rebuild due to tagging failure.
|
||||||
|
|
||||||
|
* Wed Nov 06 2019 Čestmír Kalina <ckalina@redhat.com> - 1.2.2-2
|
||||||
|
- Resolves: rhbz#1726264
|
||||||
|
- update to 1.2.2
|
||||||
|
|
||||||
* Mon May 20 2019 Čestmír Kalina <ckalina@redhat.com> - 1.2.1-2
|
* Mon May 20 2019 Čestmír Kalina <ckalina@redhat.com> - 1.2.1-2
|
||||||
- Resolves: rhbz#1706015
|
- Resolves: rhbz#1706015
|
||||||
- guards smc_rnics man with %ifarch s390x to avoid build failure
|
- guards smc_rnics man with %ifarch s390x to avoid build failure
|
||||||
|
Loading…
Reference in New Issue
Block a user