mocklib support in srpm build