ruby: command not found sh: line 1: ruby: command not found warning: extra tokens at the end of %else directive in line 31: %else #0%{?fedora} >= 19 || 0%{?rhel} >= 7 warning: extra tokens at the end of %endif directive in line 34: %endif #0%{?fedora} >= 19 || 0%{?rhel} >= 7 warning: extra tokens at the end of %endif directive in line 39: %endif #0%{?fedora} && 0%{?fedora} <= 22 warning: extra tokens at the end of %else directive in line 59: %else #(0%{?fedora} && 0%{?fedora} <= 20) || 0%{?rhel} == 7 warning: extra tokens at the end of %endif directive in line 61: %endif #(0%{?fedora} && 0%{?fedora} <= 20) || 0%{?rhel} == 7 warning: extra tokens at the end of %endif directive in line 67: %endif #0%{?fedora} && 0%{?fedora} <= 22 warning: extra tokens at the end of %else directive in line 81: %else #0%{?fedora} || 0%{?rhel} >= 6 warning: extra tokens at the end of %endif directive in line 87: %endif #0%{?fedora} || 0%{?rhel} >= 6 warning: extra tokens at the end of %endif directive in line 108: %endif #(0%{?fedora} && 0%{?fedora} <= 20) || (0%{?rhel} && 0%{?rhel} <= 7) warning: extra tokens at the end of %endif directive in line 121: %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8 warning: extra tokens at the end of %endif directive in line 128: %endif #0%{?rhel} && 0%{?rhel} <= 6 warning: extra tokens at the end of %else directive in line 140: %else #0%{?fedora} >= 21 || 0%{?rhel} >= 8 warning: extra tokens at the end of %endif directive in line 143: %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8 warning: extra tokens at the end of %else directive in line 146: %else #0%{?fedora} >= 19 || 0%{?rhel} >= 7 warning: extra tokens at the end of %endif directive in line 148: %endif #0%{?fedora} >= 19 || 0%{?rhel} >= 7 warning: extra tokens at the end of %else directive in line 157: %else #0%{?fedora} >= 21 || 0%{?rhel} >= 8 warning: extra tokens at the end of %endif directive in line 159: %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1704240000 Wrote: /builddir/build/SRPMS/rubygem-narray-0.6.1.1-29.fc40.src.rpm RPM build warnings: extra tokens at the end of %else directive in line 31: %else #0%{?fedora} >= 19 || 0%{?rhel} >= 7 extra tokens at the end of %endif directive in line 34: %endif #0%{?fedora} >= 19 || 0%{?rhel} >= 7 extra tokens at the end of %endif directive in line 39: %endif #0%{?fedora} && 0%{?fedora} <= 22 extra tokens at the end of %else directive in line 59: %else #(0%{?fedora} && 0%{?fedora} <= 20) || 0%{?rhel} == 7 extra tokens at the end of %endif directive in line 61: %endif #(0%{?fedora} && 0%{?fedora} <= 20) || 0%{?rhel} == 7 extra tokens at the end of %endif directive in line 67: %endif #0%{?fedora} && 0%{?fedora} <= 22 extra tokens at the end of %else directive in line 81: %else #0%{?fedora} || 0%{?rhel} >= 6 extra tokens at the end of %endif directive in line 87: %endif #0%{?fedora} || 0%{?rhel} >= 6 extra tokens at the end of %endif directive in line 108: %endif #(0%{?fedora} && 0%{?fedora} <= 20) || (0%{?rhel} && 0%{?rhel} <= 7) extra tokens at the end of %endif directive in line 121: %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8 extra tokens at the end of %endif directive in line 128: %endif #0%{?rhel} && 0%{?rhel} <= 6 extra tokens at the end of %else directive in line 140: %else #0%{?fedora} >= 21 || 0%{?rhel} >= 8 extra tokens at the end of %endif directive in line 143: %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8 extra tokens at the end of %else directive in line 146: %else #0%{?fedora} >= 19 || 0%{?rhel} >= 7 extra tokens at the end of %endif directive in line 148: %endif #0%{?fedora} >= 19 || 0%{?rhel} >= 7 extra tokens at the end of %else directive in line 157: %else #0%{?fedora} >= 21 || 0%{?rhel} >= 8 extra tokens at the end of %endif directive in line 159: %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8 Child return code was: 0