From f1e5b4ceb31caf385c877e6c1ce6ab1427f51acc Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Tue, 6 Dec 2022 14:48:05 +0800 Subject: [PATCH] fix strip problem --- mstflint.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mstflint.spec b/mstflint.spec index ec65f52..71820c5 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -1,7 +1,7 @@ Name: mstflint Summary: Firmware Burning and Diagnostics Tools Version: 4.10.0 -Release: 8 +Release: 9 License: GPLv2+ or BSD Url: https://github.com/Mellanox/mstflint Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-1/%{name}-%{version}.tar.gz @@ -30,6 +30,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 @@ -44,6 +45,9 @@ export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %{_mandir}/man1/* %changelog +* Tue Dec 6 2022 liyanan - 4.10.0-9 +- fix strip problem + * Thu Nov 10 2022 liyanan - 4.10.0-8 - Change source -- Gitee