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.9.spec'], chrootPath='/var/lib/mock/f40-build-766736-124330/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=604800uid=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.9.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 529: %endif # with main_python warning: extra tokens at the end of %endif directive in line 719: %endif # with debug_build warning: extra tokens at the end of %else directive in line 721: %else # with flatpackage warning: extra tokens at the end of %endif directive in line 761: %endif # with flatpackage warning: extra tokens at the end of %endif directive in line 915: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 952: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 987: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 1020: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1301: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1304: %endif # with tests warning: extra tokens at the end of %endif directive in line 1798: %endif # with debug_build Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1702857600 Wrote: /builddir/build/SRPMS/python3.9-3.9.18-3.fc40.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 529: %endif # with main_python extra tokens at the end of %endif directive in line 719: %endif # with debug_build extra tokens at the end of %else directive in line 721: %else # with flatpackage extra tokens at the end of %endif directive in line 761: %endif # with flatpackage extra tokens at the end of %endif directive in line 915: %endif # with debug_build extra tokens at the end of %endif directive in line 952: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 987: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 1020: %endif # with debug_build extra tokens at the end of %endif directive in line 1301: %endif # with debug_build extra tokens at the end of %endif directive in line 1304: %endif # with tests extra tokens at the end of %endif directive in line 1798: %endif # with debug_build Child return code was: 0