fix strip problem

Signed-off-by: liweigang <liweiganga@uniontech.com>
This commit is contained in:
liweigang 2024-04-08 10:52:36 +08:00
parent d2da06e37f
commit f4c2a514d0

View File

@ -1,7 +1,7 @@
Name: mstflint
Summary: Firmware Burning and Diagnostics Tools
Version: 4.26.0
Release: 1
Release: 2
License: GPLv2+ or BSD
Url: https://github.com/Mellanox/mstflint
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
%make_install
strip %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
strip %{buildroot}/%{_libdir}/mstflint/sdk/*.so
%delete_la_and_a
%files
@ -43,6 +44,9 @@ strip %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
%{_mandir}/man1/*
%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
- Upgrade to 4.26.0