Blame SPECS/perftest.spec

e49859
Name:           perftest
e49859
Summary:        IB Performance Tests
ac25a9
# Upstream uses a dash in the version. Not valid in the Version field, so we use a dot instead.
ac25a9
# Issue "Please avoid dashes in version":
ac25a9
#   https://github.com/linux-rdma/perftest/issues/18
ac25a9
%global upstream_ver 4.5-0.20
ac25a9
Version:        %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
ac25a9
Release:        4%{?dist}
e49859
License:        GPLv2 or BSD
ac25a9
Source:         https://github.com/linux-rdma/perftest/releases/download/v4.5-0.20/perftest-4.5-0.20.gac7cca5.tar.gz
e49859
Url:            https://github.com/linux-rdma/perftest
e49859
def887
BuildRequires:  make
e49859
BuildRequires:  gcc
e49859
BuildRequires:  libibverbs-devel >= 1.2.0
e49859
BuildRequires:  librdmacm-devel >= 1.0.21
e49859
BuildRequires:  libibumad-devel >= 1.3.10.2
e49859
BuildRequires:  pciutils-devel
e49859
Obsoletes:      openib-perftest < 1.3
e49859
ExcludeArch:    s390 %{arm}
e49859
e49859
%description
e49859
Perftest is a collection of simple test programs designed to utilize 
e49859
RDMA communications and provide performance numbers over those RDMA
e49859
connections.  It does not work on normal TCP/IP networks, only on
e49859
RDMA networks.
e49859
e49859
%prep
ac25a9
# The directory in the tarball has only the part before the dash.
ac25a9
%global tarball_ver %{lua: _,_,v=string.find(rpm.expand("%{upstream_ver}"),"([^-]+)"); print(v)}
ac25a9
ac25a9
%setup -q -n %{name}-%{tarball_ver}
e49859
find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
e49859
e49859
%build
e49859
%configure
e49859
%make_build
e49859
e49859
%install
e49859
for file in ib_{atomic,read,send,write}_{lat,bw} raw_ethernet_{lat,bw}; do
e49859
	install -D -m 0755 $file %{buildroot}%{_bindir}/$file
e49859
done
e49859
e49859
%files
e49859
%doc README
e49859
%license COPYING
e49859
%_bindir/*
e49859
e49859
%changelog
ac25a9
* Tue Feb 07 2023 Michal Schmidt <mschmidt@redhat.com> - 4.5.0.20-4
ac25a9
- Use rpm lua code from Fedora perftest-4.5.0.20-4.fc38.
ac25a9
- Resolves: rhbz#2167405
ac25a9
ac25a9
* Mon Feb 06 2023 Kamal Heib <kheib@redhat.com> - 4.5.0.20-1
ac25a9
- Rebase to upstream release perftest-4.5-0.20
ac25a9
- Resolves: rhbz#2167405
ac25a9
def887
* Tue Nov 09 2021 Honggang Li <honli@redhat.com> - 4.5-12
def887
- Rebase to upstream release perftest-4.5-0.12
def887
- Resolves: rhbz#2020061
def887
e49859
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.5-3
e49859
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
e49859
  Related: rhbz#1991688
e49859
e49859
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.5-2
e49859
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
e49859
e49859
* Mon Mar 29 2021 Honggang Li <honli@redhat.com> - 4.5-1
e49859
- Rebase to upstream release perftest-4.5-0.2
e49859
e49859
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4-10
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e49859
e49859
* Thu Jan 14 2021 Honggang Li <honli@redhat.com> - 4.4-9
e49859
- Rebase to upstream release perftest-4.4-0.37
e49859
e49859
* Sun Dec 06 2020 Honggang Li <honli@redhat.com> - 4.4-8
e49859
- Rebase to upstream release perftest-4.4-0.36
e49859
e49859
* Sun Oct 11 2020 Honggang Li <honli@redhat.com> - 4.4-7
e49859
- Rebase to upstream release perftest-4.4-0.32
e49859
e49859
* Fri Sep 18 2020 Honggang Li <honli@redhat.com> - 4.4-6
e49859
- Build perftest for s390x
e49859
e49859
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4-5
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e49859
e49859
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 4.4-4
e49859
- Use make macros
e49859
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
e49859
e49859
* Sun May 24 2020 Honggang Li <honli@redhat.com> - 4.4-3
e49859
- Rebase to upstream release perftest-4.4-0.29
e49859
e49859
* Sun Apr 12 2020 Honggang Li <honli@redhat.com> - 4.4-2
e49859
- Rebase to upstream release perftest-4.4-0.23
e49859
e49859
* Mon Feb 10 2020 Honggang Li <honli@redhat.com> - 4.4-1
e49859
- Rebase to upstream release perftest-4.4-0.11
e49859
e49859
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-6
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e49859
e49859
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-5
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e49859
e49859
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-4
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e49859
e49859
* Mon Jul 23 2018  Honggang Li <honli@redhat.com> - 4.2-3
e49859
- Rebase to latest upstream release v4.2-0.8
e49859
- BuildRequires gcc
e49859
- Resolves: bz1605400
e49859
e49859
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-2
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e49859
e49859
* Tue Apr 17 2018  Honggang Li <honli@redhat.com> - 4.2-1
e49859
- Rebase to latest upstream release V4.2-0.5
e49859
- Resolves: bz1568309
e49859
e49859
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-5
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e49859
e49859
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-4
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e49859
e49859
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-3
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e49859
e49859
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-2
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e49859
e49859
* Tue Mar 29 2016 Honggang Li <honli@redhat.com> - 3.0-1
e49859
- Update to latest upstream
e49859
e49859
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e49859
e49859
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-3
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e49859
e49859
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e49859
e49859
* Sun Jun  8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.2-1
e49859
- Update to 2.2-17
e49859
e49859
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-3
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e49859
e49859
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e49859
e49859
* Wed Jul 17 2013 Doug Ledford <dledford@redhat.com> - 2.0-1
e49859
- Update to latest upstream version
e49859
e49859
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e49859
e49859
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
e49859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e49859
e49859
* Fri Jan 06 2012 Doug Ledford <dledford@redhat.com> - 1.3.0-2
e49859
- Update to latest upstream release
e49859
- Initial import into Fedora
e49859
- Remove runme from docs section (review item)
e49859
- Improve description of package (review item)
e49859
e49859
* Fri Jul 22 2011 Doug Ledford <dledford@redhat.com> - 1.3.0-1
e49859
- Update to latest upstream release (1.2.3 -> 1.3.0)
e49859
- Strip rocee related code out of upstream update
e49859
- Add a buildrequires on libibumad because upstream needs it now
e49859
- Fix lack of build on i686
e49859
- Related: bz725016
e49859
- Resolves: bz724896
e49859
e49859
* Mon Jan 25 2010 Doug Ledford <dledford@redhat.com> - 1.2.3-3.el6
e49859
- More minor pkgwrangler cleanups
e49859
- Related: bz543948
e49859
e49859
* Mon Jan 25 2010 Doug Ledford <dledford@redhat.com> - 1.2.3-2.el6
e49859
- Fixes for pkgwrangler review
e49859
- Related: bz543948
e49859
e49859
* Tue Dec 22 2009 Doug Ledford <dledford@redhat.com> - 1.2.3-1.el5
e49859
- Update to latest upstream version
e49859
- Related: bz518218
e49859
e49859
* Mon Jun 22 2009 Doug Ledford <dledford@redhat.com> - 1.2-14.el5
e49859
- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro
e49859
- Related: bz506258
e49859
e49859
* Sun Jun 21 2009 Doug Ledford <dledford@redhat.com> - 1.2-13.el5
e49859
- Update to ofed 1.4.1 final bits
e49859
- Rebuild against non-XRC libibverbs
e49859
- Related: bz506097, bz506258
e49859
e49859
* Sat Apr 18 2009 Doug Ledford <dledford@redhat.com> - 1.2-12.el5
e49859
- Update to ofed 1.4.1-rc3 version
e49859
- Remove dead patch
e49859
- Related: bz459652
e49859
e49859
* Wed Sep 17 2008 Doug Ledford <dledford@redhat.com> - 1.2-11
e49859
- Upstream has updated the tarball without updating the version, so we
e49859
  grabbed the one from the OFED-1.3.2-20080728.0355 tarball
e49859
- Resolves: bz451481
e49859
e49859
* Wed Apr 09 2008 Doug Ledford <dledford@redhat.com> - 1.2-10
e49859
- Fix the fact that the itc clock on ia64 may be a multiple of the cpu clock
e49859
- Resolves: bz433659
e49859
e49859
* Tue Apr 01 2008 Doug Ledford <dledford@redhat.com> - 1.2-9
e49859
- Update to OFED 1.3 final bits
e49859
- Related: bz428197
e49859
e49859
* Sun Jan 27 2008 Doug Ledford <dledford@redhat.com> - 1.2-8
e49859
- Split out to separate package (used to be part of openib package)
e49859
- Related: bz428197
e49859