directive in line 457: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 495: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 657: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 928: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 938: %endif # 0%{!?_build_minimal} warning: extra tokens at the end of %endif directive in line 967: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 987: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1003: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 warning: extra tokens at the end of %endif directive in line 1020: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 1025: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1122: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1131: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 1139: %endif # %{have_inproctrace} warning: extra tokens at the end of %endif directive in line 1156: %endif # 0%{!?rhel:1} warning: extra tokens at the end of %endif directive in line 1157: %endif # 0%{!?_without_python:1} Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1663545600 Wrote: /builddir/build/SRPMS/gdb-12.1-5.0.riscv64.fc37.src.rpm RPM build warnings: Macro expanded in comment on line 60: %{tarname}.tar.xz extra tokens at the end of %endif directive in line 69: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 247: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 248: %endif # 0%{!?_without_python:1} extra tokens at the end of %else directive in line 319: %else #!s390x extra tokens at the end of %else directive in line 322: %else #!ppc extra tokens at the end of %endif directive in line 325: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 326: %endif #!ppc extra tokens at the end of %endif directive in line 327: %endif #!s390x extra tokens at the end of %endif directive in line 425: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 457: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 495: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 657: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 928: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 938: %endif # 0%{!?_build_minimal} extra tokens at the end of %endif directive in line 967: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 987: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1003: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 1020: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 1025: %endif # 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1122: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1131: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1139: %endif # %{have_inproctrace} extra tokens at the end of %endif directive in line 1156: %endif # 0%{!?rhel:1} extra tokens at the end of %endif directive in line 1157: %endif # 0%{!?_without_python:1} Child return code was: 0