On RPM 4.9.0+ pick 'Packages' instead of 'packages.rpm' for package list

Since RPM 4.9.0+ _dbapi was deprecated and was replaced with major
version number of Berkley DB. _dbapi macros are no more defined
by RPM.

Signed-off-by: David Abdurachmanov <davidlt@cern.ch>