import smc-tools-1.4.0-3.git71c863a.el8

This commit is contained in:
CentOS Sources 2021-05-18 02:54:55 -04:00 committed by Andrew Lukoshko
parent 8f8309f6d0
commit 1717e4d48a
3 changed files with 40 additions and 18 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/smc-tools-1.3.0.tar.gz
SOURCES/smc-tools-71c863a.tar.gz

View File

@ -1 +1 @@
4930ecc7de849de6aad782262108a471c283818f SOURCES/smc-tools-1.3.0.tar.gz
9b408cd25de5296889e75ce618d0f8d8c96a8205 SOURCES/smc-tools-71c863a.tar.gz

View File

@ -1,52 +1,74 @@
%global forgeurl https://github.com/ibm-s390-tools/smc-tools
%global commitdate 20201203
%global commit 71c863a72165dab03e65022c332c0a8efb6c3b4d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%forgemeta -i
%define debug_package %{nil}
Name: smc-tools
Version: 1.3.0
Release: 1%{?dist}
Version: 1.4.0
Release: 3%{?dist}
Summary: Shared Memory Communication Tools
License: EPL
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
BuildRequires: gcc
BuildRequires: libnl3-devel
BuildRequires: bash-completion
Source0: https://github.com/ibm-s390-tools/smc-tools/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
%description
The Shared Memory Communication Tools (smc-tools) package enables usage of SMC
sockets in Linux.
%prep
%autosetup
%forgesetup
%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
%make_install V=1
%files
%license LICENSE
%doc README.smctools
%doc README.md
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/smc
%{_datadir}/bash-completion/completions/smc-tools
%{_datadir}/bash-completion/completions/smc_dbg
%{_datadir}/bash-completion/completions/smc_pnet
%{_datadir}/bash-completion/completions/smc_rnics
%{_datadir}/bash-completion/completions/smcss
%{_mandir}/man7/af_smc.7.gz
%{_mandir}/man8/smc*
%{_bindir}/smc_pnet
%{_bindir}/smc_run
%{_bindir}/smcss
%{_bindir}/smcd
%{_bindir}/smcr
%ifarch s390x
%{_bindir}/smc_rnics
%{_mandir}/man8/smc_rnics.8*
%endif
%{_bindir}/smc_dbg
%{_libdir}/libsmc-preload.so*
%{_mandir}/man7/af_smc.7*
%{_mandir}/man8/smc_pnet.8*
%{_mandir}/man8/smc_run.8*
%{_mandir}/man8/smcss.8*
%changelog
* Thu Jun 23 2020 Čestmír Kalina <ckalina@redhat.com> - 1.3.0-1
* 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