RPM 'group' field and fix for async task completion

Hi Panit!
Could you please include my fixes if you are happy with them and cut a new release?
Thanks!