setAttributes on package and version