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/GarminPlugin.spec'], chrootPath='/var/lib/mock/f40-build-760916-121293/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/GarminPlugin.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 4: %endif # 0%%{?fedora} >= 22 || 0%%{?rhel} >= 8 warning: extra tokens at the end of %endif directive in line 11: %endif # 0%%{?rhel} && 0%%{?rhel} <= 5 warning: extra tokens at the end of %endif directive in line 34: %endif # 0%%{?rhel} && 0%%{?rhel} <= 5 warning: extra tokens at the end of %endif directive in line 75: %endif # 0%%{?rhel} && 0%%{?rhel} <= 5 warning: extra tokens at the end of %else directive in line 84: %else # 0%%{?with_license} warning: extra tokens at the end of %endif directive in line 86: %endif # 0%%{?with_license} Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/GarminPlugin-0.3.27-19.fc40.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 4: %endif # 0%%{?fedora} >= 22 || 0%%{?rhel} >= 8 extra tokens at the end of %endif directive in line 11: %endif # 0%%{?rhel} && 0%%{?rhel} <= 5 extra tokens at the end of %endif directive in line 34: %endif # 0%%{?rhel} && 0%%{?rhel} <= 5 extra tokens at the end of %endif directive in line 75: %endif # 0%%{?rhel} && 0%%{?rhel} <= 5 extra tokens at the end of %else directive in line 84: %else # 0%%{?with_license} extra tokens at the end of %endif directive in line 86: %endif # 0%%{?with_license} Child return code was: 0