import mstflint-4.23.0-2.el9

This commit is contained in:
CentOS Sources 2023-03-28 11:21:50 +00:00 committed by Stepan Oksanichenko
parent f744b762d8
commit ab17ecce70
4 changed files with 15 additions and 5 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/mstflint-4.21.0-1.tar.gz
SOURCES/mstflint-4.23.0-1.tar.gz

View File

@ -1 +1 @@
08367f20899423d62313867e4fb40653df2e139c SOURCES/mstflint-4.21.0-1.tar.gz
6e84aa3237c48a1208dcef3d46a258d1c6cff626 SOURCES/mstflint-4.23.0-1.tar.gz

View File

@ -47,6 +47,6 @@ index 26f6a5a..9a42c37 100644
${RREG_ACCESS_SO}: libreg_access.a
- $(CC) -g -Wall -pthread -shared ${CFLAGS} *.o -o ${RREG_ACCESS_SO} \
+ $(CC) -g -Wall -pthread -shared ${CFLAGS} ${LDFLAGS} *.o -o ${RREG_ACCESS_SO} \
-L$(USER_DIR)/tools_layouts -ltools_layouts -L$(MTCR_DIR) -lmtcr_ul
-L$(USER_DIR)/tools_layouts -ltools_layouts -lmlxconfig_4th_gen_layouts -L$(MTCR_DIR) -lmtcr_ul
CLEANFILES = ${RREG_ACCESS_SO}

View File

@ -2,8 +2,8 @@
Name: mstflint
Summary: Mellanox firmware burning tool
Version: 4.21.0
Release: 1%{?dist}
Version: 4.23.0
Release: 2%{?dist}
License: GPLv2+ or BSD
Url: https://github.com/Mellanox/%{name}
Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz
@ -49,6 +49,10 @@ rm -fr %{buildroot}%{_includedir}
find %{buildroot} -type f -name '*.la' -delete
find %{buildroot} -type f -name '*.a' -delete
# Mark these shared libs executable for find-debuginfo.sh to find them.
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Debuginfo/
chmod +x %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
%files
%doc README
%_bindir/*
@ -59,6 +63,12 @@ find %{buildroot} -type f -name '*.a' -delete
%{_mandir}/man1/*
%changelog
* Fri Feb 03 2023 Michal Schmidt <mschmidt@redhat.com> - 4.23.0-2
- Fix debuginfo generation.
* Thu Feb 02 2023 Kamal Heib <kheib@redhat.com> - 4.23.0-1
- Update to upstream release 4.23.0
* Wed Aug 03 2022 Michal Schmidt <mschmidt@redhat.com> - 4.21.0-1
- Update to upstream release 4.21.0