Added dependency attr to dep and rpm packages.

I guess the attr should now be added as dependency. Related to issue #402.

Successfully tested the dep package.