lua-posix-33.3.1-2.fc24 fails to build from source. This affects Base Runtime, Rawhide, F25 and possibly older releases as well. There are two reasons: 1) It expects lua to be available in the SRPM buildroot, which is (no longer) the case. You could work around that by providing a fallback value for %luaver like this: %{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))" || echo 0)} This will work just fine as SRPMs get actually built twice and %luaver will be properly defined during the second pass while not failing the first. Note: This should be fixed in the Lua packaging guidelines as well as this probably affects all Lua packages in the distribution. 2) Another issue is an undeclared build dependency on perl which is executed during the build phase. Neither perl is included in the default buildroot anymore. This can be easily fixed by buildrequiring perl.
Sorry, I accidentally opened a new BZ while writing a patch. I'll close this one as a dupe of the other, since it has more detail and a fix. *** This bug has been marked as a duplicate of bug 1403991 ***