update to librepo API 1.2