The files /etc/profile.d/qt.[c]sh in version 2.1.0 set QTDIR to /usr/lib/qt-2.0.1 Suggested solution: Instead of including them in the .spec as separate sources generate them on the fly using << and use the %{version} macro.
Thanks, fixed in rawhide.