Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python3.7.spec'], chrootPath='/var/lib/mock/f37-build-657977-73355/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python3.7.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 665: %endif # with debug_build warning: extra tokens at the end of %else directive in line 667: %else # with flatpackage warning: extra tokens at the end of %endif directive in line 695: %endif # with flatpackage warning: extra tokens at the end of %endif directive in line 846: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 883: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 918: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 953: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1194: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1197: %endif # with tests warning: extra tokens at the end of %endif directive in line 1643: %endif # with debug_build Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python3.7-3.7.14-1.fc37.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 665: %endif # with debug_build extra tokens at the end of %else directive in line 667: %else # with flatpackage extra tokens at the end of %endif directive in line 695: %endif # with flatpackage extra tokens at the end of %endif directive in line 846: %endif # with debug_build extra tokens at the end of %endif directive in line 883: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 918: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 953: %endif # with debug_build extra tokens at the end of %endif directive in line 1194: %endif # with debug_build extra tokens at the end of %endif directive in line 1197: %endif # with tests extra tokens at the end of %endif directive in line 1643: %endif # with debug_build Child return code was: 0