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/python-jsonpatch.spec'], chrootPath='/var/lib/mock/dist-an23.1-devel-build-366339-71301/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-jsonpatch.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 57: %endif # with python2 warning: extra tokens at the end of %endif directive in line 81: %endif # with python3 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 91: %endif # with python2 warning: extra tokens at the end of %endif directive in line 95: %endif # with python3 warning: extra tokens at the end of %endif directive in line 107: %endif # with python2 warning: extra tokens at the end of %endif directive in line 116: %endif # with python3 warning: extra tokens at the end of %endif directive in line 121: %endif # with python2 warning: extra tokens at the end of %endif directive in line 125: %endif # with python3 warning: extra tokens at the end of %endif directive in line 142: %endif # with python2 warning: extra tokens at the end of %endif directive in line 158: %endif # with python3 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/python-jsonpatch-1.21-2.0.1.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 57: %endif # with python2 extra tokens at the end of %endif directive in line 81: %endif # with python3 %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 91: %endif # with python2 extra tokens at the end of %endif directive in line 95: %endif # with python3 extra tokens at the end of %endif directive in line 107: %endif # with python2 extra tokens at the end of %endif directive in line 116: %endif # with python3 extra tokens at the end of %endif directive in line 121: %endif # with python2 extra tokens at the end of %endif directive in line 125: %endif # with python3 extra tokens at the end of %endif directive in line 142: %endif # with python2 extra tokens at the end of %endif directive in line 158: %endif # with python3 Child return code was: 0