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/znc.spec'], chrootPath='/var/lib/mock/f37-build-639678-71327/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/znc.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 7: %endif # 0%{?fedora} || 0%{?rhel} >= 6 warning: extra tokens at the end of %endif directive in line 12: %endif # 0%{?fedora} || 0%{?rhel} >= 7 warning: extra tokens at the end of %endif directive in line 46: %endif # 0%{?rhel} && 0%{?rhel} <= 9 warning: extra tokens at the end of %endif directive in line 94: %endif # 0%{?with_modperl} warning: extra tokens at the end of %endif directive in line 109: %endif # 0%{?with_modpython} warning: extra tokens at the end of %endif directive in line 189: %endif # 0%{?with_modpython} warning: extra tokens at the end of %endif directive in line 212: %endif # 0%{?with_modperl} warning: extra tokens at the end of %endif directive in line 220: %endif # 0%{?with_modpython} Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1663977600 Wrote: /builddir/build/SRPMS/znc-1.8.2-15.fc37.rvre0.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 7: %endif # 0%{?fedora} || 0%{?rhel} >= 6 extra tokens at the end of %endif directive in line 12: %endif # 0%{?fedora} || 0%{?rhel} >= 7 extra tokens at the end of %endif directive in line 46: %endif # 0%{?rhel} && 0%{?rhel} <= 9 extra tokens at the end of %endif directive in line 94: %endif # 0%{?with_modperl} extra tokens at the end of %endif directive in line 109: %endif # 0%{?with_modpython} extra tokens at the end of %endif directive in line 189: %endif # 0%{?with_modpython} extra tokens at the end of %endif directive in line 212: %endif # 0%{?with_modperl} extra tokens at the end of %endif directive in line 220: %endif # 0%{?with_modpython} Child return code was: 0