Building rpm using mock.