!42 fix strip problem

From: @Venland 
Reviewed-by: @wu-leilei 
Signed-off-by: @wu-leilei
This commit is contained in:
openeuler-ci-bot 2024-04-08 06:09:30 +00:00 committed by Gitee
commit 9ab177a5b8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Name: mstflint Name: mstflint
Summary: Firmware Burning and Diagnostics Tools Summary: Firmware Burning and Diagnostics Tools
Version: 4.26.0 Version: 4.26.0
Release: 1 Release: 2
License: GPLv2+ or BSD License: GPLv2+ or BSD
Url: https://github.com/Mellanox/mstflint Url: https://github.com/Mellanox/mstflint
Source: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz Source: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz
@ -29,6 +29,7 @@ export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%install %install
%make_install %make_install
strip %{buildroot}/%{_libdir}/mstflint/python_tools/*.so strip %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
strip %{buildroot}/%{_libdir}/mstflint/sdk/*.so
%delete_la_and_a %delete_la_and_a
%files %files
@ -43,6 +44,9 @@ strip %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Mon Apr 08 2024 liweigang <liweiganga@uniontech.com> - 4.26.0-2
- fix strip problem
* Wed Jan 24 2024 yaoxin <yao_xin001@hoperun.com> - 4.26.0-1 * Wed Jan 24 2024 yaoxin <yao_xin001@hoperun.com> - 4.26.0-1
- Upgrade to 4.26.0 - Upgrade to 4.26.0