Delete unnecessary package specifications.