moved subject and nevra from python to C