import mstflint-4.23.0-2.el8

This commit is contained in:
CentOS Sources 2023-03-28 12:05:33 +00:00 committed by Stepan Oksanichenko
parent d7b2a6a4c0
commit dec818ab88
4 changed files with 13 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,10 @@ find %{buildroot} -type f -name '*.a' -delete
%{_mandir}/man1/*
%changelog
* Wed Feb 08 2023 Michal Schmidt <mschmidt@redhat.com> - 4.23.0-2
- Update to upstream release 4.23.0
- Resolves: rhbz#2112936
* Wed Aug 17 2022 Michal Schmidt <mschmidt@redhat.com> - 4.21.0-1
- Update to upstream release 4.21.0
- Resolves: rhbz#2049525