import CS mstflint-4.34.0-5.el9

This commit is contained in:
AlmaLinux RelEng Bot 2026-08-24 09:25:21 -04:00
parent 174fc220c5
commit 3ac0410d39

View File

@ -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 <kheib@redhat.com> - 4.34.0-5
- Remove libmtcr_ul.a from package and optimize find commands
- Resolves: RHEL-160059
* Fri Jan 23 2026 Kamal Heib <kheib@redhat.com> - 4.34.0-4
- Rebuilt for RHEL-9.8
- Resolves: RHEL-98271