directive in line 462: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 500: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 662: %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=1677628800 Wrote: /builddir/build/SRPMS/gdb-12.1-16.0.riscv64.fc38.src.rpm RPM build warnings: Macro expanded in comment on line 62: %{tarname}.tar.xz extra tokens at the end of %endif directive in line 71: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 249: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 250: %endif # 0%{!?_without_python:1} extra tokens at the end of %else directive in line 324: %else #!s390x extra tokens at the end of %else directive in line 327: %else #!ppc extra tokens at the end of %endif directive in line 330: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 331: %endif #!ppc extra tokens at the end of %endif directive in line 332: %endif #!s390x extra tokens at the end of %endif directive in line 430: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 462: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 500: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 662: %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