Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-idna.spec'], chrootPath='/var/lib/mock/dist-an23-build-214749-61983/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-idna.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 29: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 33: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 59: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 75: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 85: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 89: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 94: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 98: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 103: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 107: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 115: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 123: %endif # with_python3 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1530144000 Wrote: /builddir/build/SRPMS/python-idna-2.5-5.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 29: %endif # with_python2 extra tokens at the end of %endif directive in line 33: %endif # with_python3 extra tokens at the end of %endif directive in line 59: %endif # with_python2 extra tokens at the end of %endif directive in line 75: %endif # with_python3 extra tokens at the end of %endif directive in line 85: %endif # with_python2 extra tokens at the end of %endif directive in line 89: %endif # with_python3 extra tokens at the end of %endif directive in line 94: %endif # with_python3 extra tokens at the end of %endif directive in line 98: %endif # with_python2 extra tokens at the end of %endif directive in line 103: %endif # with_python2 extra tokens at the end of %endif directive in line 107: %endif # with_python3 extra tokens at the end of %endif directive in line 115: %endif # with_python2 extra tokens at the end of %endif directive in line 123: %endif # with_python3 Child return code was: 0