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/python2.7.spec'], chrootPath='/var/lib/mock/f37-build-640123-71398/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/python2.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 187: %endif # with_systemtap warning: extra tokens at the end of %endif directive in line 913: %endif # with_systemtap warning: extra tokens at the end of %endif directive in line 1230: %endif # with_gdb_hooks warning: extra tokens at the end of %endif directive in line 1414: %endif # with_systemtap warning: extra tokens at the end of %endif directive in line 1509: %endif # with tests Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1661126400 Wrote: /builddir/build/SRPMS/python2.7-2.7.18-25.fc37.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 187: %endif # with_systemtap extra tokens at the end of %endif directive in line 913: %endif # with_systemtap extra tokens at the end of %endif directive in line 1230: %endif # with_gdb_hooks extra tokens at the end of %endif directive in line 1414: %endif # with_systemtap extra tokens at the end of %endif directive in line 1509: %endif # with tests Child return code was: 0