fix strip problem

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2023-11-08 11:00:38 +08:00
parent f5c10b1623
commit 46821d29ba

View File

@ -1,7 +1,7 @@
Name: mstflint
Summary: Firmware Burning and Diagnostics Tools
Version: 4.10.0
Release: 5
Release: 6
License: GPLv2+ or BSD
Url: https://github.com/Mellanox/mstflint
Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz
@ -28,6 +28,7 @@ export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%install
%make_install
strip %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
%delete_la_and_a
%files
@ -42,6 +43,9 @@ export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%{_mandir}/man1/*
%changelog
* Wed Nov 08 2023 xu_ping <707078654@qq.com> - 4.10.0-6
- fix strip problem
* Sun Apr 26 2020 songnannan <songnannan2@huawei.com> - 4.10.0-5
- change the libibmad-devel to rdma-core-devel