Tensor.dem fails in tendemo.mac
First of all, it "works for me"; I am running vanilla Maxima from the Linux command line. I am guessing that the problem occurs when running Maxima in a graphical environment, probably wxMaxima. A CPU-intensive loop for timing is not a solution. It will likely work (or fail) differently on different systems. In any case, I am inclined to close this as not a Maxima bug but a front-end bug, since it works fine in text mode for me; however, I think I'll wait just in case others can repro the problem...
Carried over changes from 5.40 branch to fix missing folders in maxima.spec
Updating version number to 5.40.
Corrected version number to 5.40.0.
Still fiddling with missing install folders, compounded by my lack of RPM build system expertise.
Change maxima.spec to reflect changed location of x-mac.xml
Adding missing folders to maxima.spec.