Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python3.9.spec'], chrootPath='/var/lib/mock/f40-build-752705-116826/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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 520: %endif # with main_python warning: extra tokens at the end of %endif directive in line 710: %endif # with debug_build warning: extra tokens at the end of %else directive in line 712: %else # with flatpackage warning: extra tokens at the end of %endif directive in line 752: %endif # with flatpackage warning: extra tokens at the end of %endif directive in line 906: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 943: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 978: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 1011: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1292: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1295: %endif # with tests warning: extra tokens at the end of %endif directive in line 1789: %endif # with debug_build Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1700697600 Wrote: /builddir/build/SRPMS/python3.9-3.9.18-2.fc40.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 520: %endif # with main_python extra tokens at the end of %endif directive in line 710: %endif # with debug_build extra tokens at the end of %else directive in line 712: %else # with flatpackage extra tokens at the end of %endif directive in line 752: %endif # with flatpackage extra tokens at the end of %endif directive in line 906: %endif # with debug_build extra tokens at the end of %endif directive in line 943: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 978: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 1011: %endif # with debug_build extra tokens at the end of %endif directive in line 1292: %endif # with debug_build extra tokens at the end of %endif directive in line 1295: %endif # with tests extra tokens at the end of %endif directive in line 1789: %endif # with debug_build Child return code was: 0