Added dependency attr to dep and rpm packages.

Successfully tested the dep package.