From 3ac0410d3981b40eace49f19717a14bfa36dd7f3 Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 24 Aug 2026 09:25:21 -0400 Subject: [PATCH] import CS mstflint-4.34.0-5.el9 --- SPECS/mstflint.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/SPECS/mstflint.spec b/SPECS/mstflint.spec index 23f9d4d..e9fb287 100644 --- a/SPECS/mstflint.spec +++ b/SPECS/mstflint.spec @@ -3,7 +3,7 @@ Name: mstflint Summary: Mellanox firmware burning tool Version: 4.34.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ or BSD Url: https://github.com/Mellanox/%{name} Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-2/%{name}-%{version}-2.tar.gz @@ -27,8 +27,7 @@ for network adapters based on Mellanox Technologies chips. %prep %setup -q -n %{name}-%{version} -find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' -find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';' +find . -type f -perm /a+x \( -name '*.[ch]' -o -name '*.cpp' \) -exec chmod a-x '{}' '+' %build %if %{__remake_config} @@ -41,8 +40,7 @@ find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';' %make_install # Remove the devel files that we don't ship rm -fr %{buildroot}%{_includedir} -find %{buildroot} -type f -name '*.la' -delete -find %{buildroot} -type f -name '*.a' -delete +find %{buildroot} -type f,l \( -name '*.a' -o -name '*.la' \) -delete # Mark these shared libs executable for find-debuginfo.sh to find them. # https://docs.fedoraproject.org/en-US/packaging-guidelines/Debuginfo/ @@ -54,12 +52,15 @@ chmod +x %{buildroot}/%{_libdir}/mstflint/sdk/*.so %_bindir/* %{_sysconfdir}/mstflint %{_libdir}/mstflint -%{_libdir}/libmtcr_ul.a %{_datadir}/mstflint %{_mandir}/man1/* %changelog +* Wed Jul 08 2026 Kamal Heib - 4.34.0-5 +- Remove libmtcr_ul.a from package and optimize find commands +- Resolves: RHEL-160059 + * Fri Jan 23 2026 Kamal Heib - 4.34.0-4 - Rebuilt for RHEL-9.8 - Resolves: RHEL-98271