I reproduced and fixed the metaclass issue here. (Somehow subclasses from rb.Plugin cannot also subclass from something that has a metaclass, even though rb.Plugin itself does not have a metaclass. Weird.)
Anyways, this should resolve this error, but there may be more depending on whether or not you have mirage installed. I tried to make mirage a soft dependency as much as possible, but I may have made some mistakes there that I don't see because I do have it installed. Please file a new bug if it still does not work, and I'll look into it.
Once it works completely, I'll happily include the RPM spec file as well.
I reproduced and fixed the metaclass issue here. (Somehow subclasses from rb.Plugin cannot also subclass from something that has a metaclass, even though rb.Plugin itself does not have a metaclass. Weird.)
Anyways, this should resolve this error, but there may be more depending on whether or not you have mirage installed. I tried to make mirage a soft dependency as much as possible, but I may have made some mistakes there that I don't see because I do have it installed. Please file a new bug if it still does not work, and I'll look into it.
Once it works completely, I'll happily include the RPM spec file as well.