[rpm] Build with %qmake5

Using the macro means that debug symbols are generated in testing and release.
This will help when investigating crash reports.