2020-02-14 14:25:23 +08:00
|
|
|
Name: mstflint
|
|
|
|
|
Summary: Firmware Burning and Diagnostics Tools
|
2024-01-24 15:22:16 +08:00
|
|
|
Version: 4.26.0
|
2024-04-08 10:52:36 +08:00
|
|
|
Release: 2
|
2020-02-14 14:25:23 +08:00
|
|
|
License: GPLv2+ or BSD
|
|
|
|
|
Url: https://github.com/Mellanox/mstflint
|
2023-10-09 10:34:15 +08:00
|
|
|
Source: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz
|
2020-05-20 10:59:40 +08:00
|
|
|
Patch0000: 0001-Fix-compile-errors.patch
|
2021-08-05 09:46:24 +08:00
|
|
|
Patch0001: fix-return-local-addr.patch
|
2020-07-28 17:43:03 +08:00
|
|
|
BuildRequires: libstdc++-devel zlib-devel rdma-core-devel gcc-c++ gcc
|
2024-01-24 15:22:16 +08:00
|
|
|
BuildRequires: libcurl-devel libxml2-devel openssl-devel
|
2020-02-14 14:25:23 +08:00
|
|
|
Obsoletes: openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package contains a burning tool and diagnostic tools for Mellanox
|
|
|
|
|
manufactured HCA/NIC cards. It also provides access to the relevant source
|
|
|
|
|
code. Please see the file LICENSE for licensing details.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
|
2020-05-20 11:06:01 +08:00
|
|
|
%configure --enable-fw-mgr
|
2020-02-14 14:25:23 +08:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
2021-09-10 15:32:22 +08:00
|
|
|
strip %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
|
2024-04-08 10:52:36 +08:00
|
|
|
strip %{buildroot}/%{_libdir}/mstflint/sdk/*.so
|
2020-02-14 14:25:23 +08:00
|
|
|
%delete_la_and_a
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_sysconfdir}/mstflint
|
|
|
|
|
%{_libdir}/mstflint
|
|
|
|
|
%{_datadir}/mstflint
|
|
|
|
|
%exclude %{_includedir}/
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-04-08 10:52:36 +08:00
|
|
|
* Mon Apr 08 2024 liweigang <liweiganga@uniontech.com> - 4.26.0-2
|
|
|
|
|
- fix strip problem
|
|
|
|
|
|
2024-01-24 15:22:16 +08:00
|
|
|
* Wed Jan 24 2024 yaoxin <yao_xin001@hoperun.com> - 4.26.0-1
|
|
|
|
|
- Upgrade to 4.26.0
|
|
|
|
|
|
2023-10-09 10:34:15 +08:00
|
|
|
* Mon Oct 09 2023 wulei <wu_lei@hoperun.com> - 4.25.0-1
|
|
|
|
|
- Update to 4.25.0
|
|
|
|
|
|
2023-06-28 12:34:00 +08:00
|
|
|
* Wed Jul 19 2023 lvxiaoqian <xiaoqian@nj.iscas.ac.cn> - 4.10.0-12
|
|
|
|
|
- Add riscv patch from v4.17
|
|
|
|
|
|
2023-07-04 15:18:50 +08:00
|
|
|
* Tue Jul 04 2023 Ge Wang <wang__ge@126.com> - 4.10.0-11
|
|
|
|
|
- Fix build failure due to gcc updated
|
|
|
|
|
|
2023-01-05 20:17:25 +08:00
|
|
|
* Thu Jan 05 2023 chenmaodong <chenmaodong@xfusion.com> - 4.10.0-10
|
|
|
|
|
- Fix errors found with checkpatch script
|
|
|
|
|
|
2022-12-29 15:29:50 +08:00
|
|
|
* Thu Dec 29 2022 chenmaodong <chenmaodong@xfusion.com> - 4.10.0-9
|
|
|
|
|
- Fix error while burning mcc enabled Description
|
|
|
|
|
|
|
|
|
|
* Fri Sep 10 2021 Pengju Jiang <jiangpengju2@huawei.com> - 4.10.0-8
|
2021-09-10 15:32:22 +08:00
|
|
|
- solve the strip problem of dark conversion compilation
|
|
|
|
|
|
2021-08-05 09:46:24 +08:00
|
|
|
* Tue Aug 4 2021 shdluan@163.com <shdluan@163.com> - 4.10.0-7
|
|
|
|
|
- fix return local addr
|
|
|
|
|
|
2020-07-28 17:43:03 +08:00
|
|
|
* Tue Jul 28 2020 lingsheng <lingsheng@huawei.com> - 4.10.0-6
|
|
|
|
|
- change the libibmad-devel to rdma-core-devel
|
|
|
|
|
|
2020-05-19 19:53:45 +08:00
|
|
|
* Tue May 19 2020 lizhenhua <lizhenhua12@huawei.com> - 4.10.0-5
|
2020-05-20 10:59:40 +08:00
|
|
|
- Fix compile errors for gcc9
|
2020-05-19 19:53:45 +08:00
|
|
|
|
2020-02-14 14:25:23 +08:00
|
|
|
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 4.10.0-4
|
|
|
|
|
- openEuler init
|