!40 fix strip problem

From: @cherry530 
Reviewed-by: @wu-leilei 
Signed-off-by: @wu-leilei
This commit is contained in:
openeuler-ci-bot 2023-11-08 03:40:17 +00:00 committed by Gitee
commit 0256afceb0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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