diff --git a/mstflint.spec b/mstflint.spec index 3d230421eef14d518cbabe07a112036f1f8aec3c..02586ae86a42d9d8cd50f3dc84636a8597a9f4b2 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -1,7 +1,7 @@ Name: mstflint Summary: Firmware Burning and Diagnostics Tools Version: 4.10.0 -Release: 6 +Release: 7 License: GPLv2+ or BSD Url: https://github.com/Mellanox/mstflint Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz @@ -24,6 +24,8 @@ code. Please see the file LICENSE for licensing details. %build export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %configure --enable-fw-mgr +sed -i "/AM_CFLAGS = -W -Werror /s/AM_CFLAGS = -W -Werror /AM_CFLAGS = -W -Wno-error=return-local-addr /" ext_libs/sqlite/Makefile.am +sed -i "/AM_CFLAGS = -W -Werror /s/AM_CFLAGS = -W -Werror /AM_CFLAGS = -W -Wno-error=return-local-addr /" ext_libs/sqlite/Makefile.in %make_build %install @@ -43,6 +45,9 @@ export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %{_mandir}/man1/* %changelog +* Mon Aug 2 2021 shdluan - 4.10.0-7 +-fix pack failure when use gcc 10 + * Tue Jul 28 2020 lingsheng - 4.10.0-6 - change the libibmad-devel to rdma-core-devel