Well, there are a lot of signatures for malware and spyware into avast virus database.
Also, recent tests with spyware bring avast to the top of protection.
But, in other way, avast is an antivirus and not an antispyware (some features are missed in avast, we asked them to add an antispyware module a lot of times...).