rpm: specify database explicitly

It fixes "No database selected" error.

refs #1918