diff --git a/fcoe-utils.spec b/fcoe-utils.spec index 30fb40976542755c1badb91c7133dcba3ffede68..930028e9c02628854cfbbf9121e9116a0655f2bf 100644 --- a/fcoe-utils.spec +++ b/fcoe-utils.spec @@ -1,6 +1,6 @@ Name: fcoe-utils Version: 1.0.33 -Release: 3 +Release: 4 Summary: Fibre Channel over Ethernet utilities License: GPLv2 URL: https://github.com/morbidrsa/fcoe-utils @@ -29,6 +29,10 @@ fcoemon - service to configure DCB Ethernet QOS filters, works with lldpad cp -v %{SOURCE1} quickstart.txt %build +%if "%toolchain" == "clang" + CFLAGS="$CFLAGS -Wno-error=format-nonliteral -Wno-error=strncat-size -Wno-error=strict-prototypes" +%endif + ./bootstrap.sh %configure %make_build @@ -67,6 +71,9 @@ done %{_mandir}/man8/* %changelog +* Wed Apr 26 2023 Xiaoya Huang - 1.0.33-4 +- Fix clang build error + * Wed Mar 03 2022 xu_ping - 1.0.33-3 - Backport upstream patch to avoid non-X86 build break.