|
|
|
@ -1,20 +1,35 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 1;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
%global __remake_config 1
|
|
|
|
|
|
|
|
|
|
Name: mstflint
|
|
|
|
|
Summary: Mellanox firmware burning tool
|
|
|
|
|
Version: 4.24.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPLv2+ or BSD
|
|
|
|
|
Version: 4.30.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
# COPYING says the license is your choice of OpenIB.org BSD or GPLv2.
|
|
|
|
|
# kernel/Makefile has the 3-clause BSD.
|
|
|
|
|
# ext_libs/{iniParser,json,muparser}/ have MIT.
|
|
|
|
|
# ext_libs/sqlite/ has the SQLite blessing.
|
|
|
|
|
License: (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
|
|
|
|
|
Url: https://github.com/Mellanox/%{name}
|
|
|
|
|
Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
|
|
|
|
|
Patch4: add-default-link-flags-for-shared-libraries.patch
|
|
|
|
|
Patch6: replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch
|
|
|
|
|
Patch1: 0001-Fix-bind-now-test.patch
|
|
|
|
|
Patch4: add-default-link-flags-for-shared-libraries.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: libstdc++-devel, zlib-devel, libibmad-devel, gcc-c++, gcc
|
|
|
|
|
BuildRequires: libcurl-devel, boost-devel, libxml2-devel, openssl-devel
|
|
|
|
|
BuildRequires: expat-devel
|
|
|
|
|
%if %{__remake_config}
|
|
|
|
|
BuildRequires: libtool, autoconf, automake
|
|
|
|
|
%endif
|
|
|
|
@ -29,8 +44,8 @@ for network adapters based on Mellanox Technologies chips.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
%patch6 -p1
|
|
|
|
|
|
|
|
|
|
find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
|
|
|
|
find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';'
|
|
|
|
@ -39,7 +54,7 @@ find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';'
|
|
|
|
|
%if %{__remake_config}
|
|
|
|
|
./autogen.sh
|
|
|
|
|
%endif
|
|
|
|
|
%configure --enable-fw-mgr
|
|
|
|
|
%configure --enable-adb-generic-tools --disable-openssl
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -52,48 +67,111 @@ find %{buildroot} -type f -name '*.a' -delete
|
|
|
|
|
# Mark these shared libs executable for find-debuginfo.sh to find them.
|
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Debuginfo/
|
|
|
|
|
chmod +x %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
|
|
|
|
|
chmod +x %{buildroot}/%{_libdir}/mstflint/sdk/*.so
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README
|
|
|
|
|
%_bindir/*
|
|
|
|
|
%{_sysconfdir}/mstflint
|
|
|
|
|
%{_libdir}/mstflint
|
|
|
|
|
%{_libdir}/libmtcr_ul.a
|
|
|
|
|
|
|
|
|
|
%{_datadir}/mstflint
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 02 2023 Kamal Heib <kheib@redhat.com> - 4.24.0-1
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Mon Nov 18 2024 Kamal Heib <kheib@redhat.com> - 4.30.0-1
|
|
|
|
|
- Update to upstream release 4.30.0
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.26.0-7
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.26.0-6
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Sat May 25 2024 Kamal Heib <kheib@redhat.com> - 4.26.0-5
|
|
|
|
|
- Fix annocheck failure
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2024 Kamal Heib <kheib@redhat.com> - 4.26.0-4
|
|
|
|
|
- Disable openssl
|
|
|
|
|
|
|
|
|
|
* Tue Apr 30 2024 Kamal Heib <kheib@redhat.com> - 4.26.0-3
|
|
|
|
|
- Fix debuginfo
|
|
|
|
|
|
|
|
|
|
* Tue Apr 30 2024 Kamal Heib <kheib@redhat.com> - 4.26.0-2
|
|
|
|
|
- Add gating tests
|
|
|
|
|
|
|
|
|
|
* Fri Apr 26 2024 Kamal Heib <kheib@redhat.com> - 4.26.0-1
|
|
|
|
|
- Update to upstream release 4.26.0
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2024 Michal Schmidt <mschmidt@redhat.com> - 4.25.0-5
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.25.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.25.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 18 2024 Jonathan Wakely <jwakely@redhat.com> - 4.25.0-2
|
|
|
|
|
- Rebuilt for Boost 1.83
|
|
|
|
|
|
|
|
|
|
* Tue Oct 17 2023 Kamal Heib <kheib@redhat.com> - 4.25.0-1
|
|
|
|
|
- Update to upstream release 4.25.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.24.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 08 2023 Davide Cavalca <dcavalca@fedoraproject.org> - 4.24.0-2
|
|
|
|
|
- Build the mstreg and mstlink tools; Fixes: RHBZ#2213620
|
|
|
|
|
|
|
|
|
|
* Thu Jun 01 2023 Kamal Heib <kheib@redhat.com> - 4.24.0-1
|
|
|
|
|
- Update to upstream release 4.24.0
|
|
|
|
|
- Resolves: rhbz#2170368
|
|
|
|
|
|
|
|
|
|
* Fri Feb 03 2023 Michal Schmidt <mschmidt@redhat.com> - 4.23.0-2
|
|
|
|
|
- Fix debuginfo generation.
|
|
|
|
|
* Sun Apr 23 2023 Florian Weimer <fweimer@redhat.com> - 4.23.0-4
|
|
|
|
|
- Port to C99
|
|
|
|
|
|
|
|
|
|
* Fri Feb 03 2023 Michal Schmidt <mschmidt@redhat.com> - 4.23.0-3
|
|
|
|
|
- fix debuginfo generation for python_tools/*.so
|
|
|
|
|
|
|
|
|
|
* Thu Feb 02 2023 Kamal Heib <kheib@redhat.com> - 4.23.0-1
|
|
|
|
|
- Update to upstream release 4.23.0
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.21.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 03 2022 Michal Schmidt <mschmidt@redhat.com> - 4.21.0-1
|
|
|
|
|
- Update to upstream release 4.21.0
|
|
|
|
|
|
|
|
|
|
* Sun Dec 05 2021 Honggang Li <honli@redhat.com> - 4.18.0-1
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.20.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 28 2022 Michal Schmidt <mschmidt@redhat.com> - 4.20.1-1
|
|
|
|
|
- Update to upstream release 4.20.1
|
|
|
|
|
|
|
|
|
|
* Wed May 25 2022 Izabela Bakollari <izabela.bakollari@gmail.com> - 4.20.0-1
|
|
|
|
|
- Update to upstream release 4.20.0
|
|
|
|
|
|
|
|
|
|
* Mon Mar 28 2022 Michal Schmidt <mschmidt@redhat.com> - 4.19.0-0.3
|
|
|
|
|
- Rebase to the almost released 4.19.0
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 03 2021 Honggang Li <honli@redhat.com> - 4.18.0-1
|
|
|
|
|
- Rebase mstflint to latest upstream release v4.18.0-1
|
|
|
|
|
- Resolves: rhbz#2029269
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.17.0-2
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.17.0-3
|
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 01 2021 Honggang Li <honli@redhat.com> - 4.17.0-1
|
|
|
|
|
- Rebase mstflint to latest upstream release v4.17.0-1
|
|
|
|
|
- Resolves: rhbz#1858570
|
|
|
|
|
|
|
|
|
|
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.0-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.0-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Wed Apr 07 2021 Honggang Li <honli@redhat.com> - 4.16.0-2
|
|
|
|
|
- Rebase mstflint to latest upstream release v4.16.0-2
|
|
|
|
|
|
|
|
|
|
* Sun Jan 31 2021 Honggang Li <honli@redhat.com> - 4.16.0-1
|
|
|
|
|
- Rebase mstflint to latest upstream release v4.16.0-1
|
|
|
|
@ -287,3 +365,5 @@ chmod +x %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
|
|
|
|
|
|
|
|
|
|
* Thu Jul 19 2007 - Vladimir Sokolovsky vlad@mellanox.co.il
|
|
|
|
|
- Initial Package, Version 1.2
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|