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/yast2-devtools.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1191042-30625/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff8754ce50>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/yast2-devtools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: extra tokens at the end of %else directive in line 28:  %else  # 0%%{?fedora} >= 21 || 0%%{?rhel} >= 8
warning: extra tokens at the end of %endif directive in line 30:  %endif # 0%%{?fedora} >= 21 || 0%%{?rhel} >= 8
warning: extra tokens at the end of %else directive in line 28:  %else  # 0%%{?fedora} >= 21 || 0%%{?rhel} >= 8
warning: extra tokens at the end of %endif directive in line 30:  %endif # 0%%{?fedora} >= 21 || 0%%{?rhel} >= 8
warning: extra tokens at the end of %endif directive in line 84:  %endif # 0%%{?bootstrap_build} == 0
warning: extra tokens at the end of %endif directive in line 116:  %endif # (0%%{?fedora} && 0%%{?fedora} < 21) || (0%%{?rhel} && 0%%{?rhel} < 8)
warning: extra tokens at the end of %endif directive in line 146:  %endif # "0%%{?_macrosdir}" != "0%%{_sysconfdir}/rpm"
warning: extra tokens at the end of %endif directive in line 169:  %endif # %%{with license_dir}
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1674259200
Wrote: /builddir/build/SRPMS/yast2-devtools-3.1.36-16.fc38.src.rpm
RPM build warnings:
    extra tokens at the end of %else directive in line 28:  %else  # 0%%{?fedora} >= 21 || 0%%{?rhel} >= 8
    extra tokens at the end of %endif directive in line 30:  %endif # 0%%{?fedora} >= 21 || 0%%{?rhel} >= 8
    extra tokens at the end of %else directive in line 28:  %else  # 0%%{?fedora} >= 21 || 0%%{?rhel} >= 8
    extra tokens at the end of %endif directive in line 30:  %endif # 0%%{?fedora} >= 21 || 0%%{?rhel} >= 8
    extra tokens at the end of %endif directive in line 84:  %endif # 0%%{?bootstrap_build} == 0
    extra tokens at the end of %endif directive in line 116:  %endif # (0%%{?fedora} && 0%%{?fedora} < 21) || (0%%{?rhel} && 0%%{?rhel} < 8)
    extra tokens at the end of %endif directive in line 146:  %endif # "0%%{?_macrosdir}" != "0%%{_sysconfdir}/rpm"
    extra tokens at the end of %endif directive in line 169:  %endif # %%{with license_dir}
Child return code was: 0