abbra / freeipa-userstatus-plugin

Sample plugin for freeIPA to add 'user status' field to both IPA CLI and Web UI
GNU General Public License v3.0
17 stars 8 forks source link

Wrong python version build #2

Open Yamakasi opened 6 years ago

Yamakasi commented 6 years ago

When I create a build of the rpm packages I get the following error on FC26 when installing the packages:

# rpm -i freeipa-userstatus-plugin-0.0.2-1.fc26.noarch.rpm error: Failed dependencies: python2-ipa-userstatus-server is needed by freeipa-userstatus-plugin-0.0.2-1.fc26.noarch

The packages that are build are:

# ls -a freeipa-userstatus-plugin-0.0.2-1.fc26.noarch.rpm python2-ipa-userstatus-server-0.0.2-1.fc26.noarch.rpm python2-ipa-userstatus-client-0.0.2-1.fc26.noarch.rpm

abbra commented 6 years ago

You need to install all packages as they have dependent requires. You can use 'dnf localinstall *.rpm' for that.

abbra commented 6 years ago

And there are no wrong python version requires, obviously.

Yamakasi commented 6 years ago

I fixed with using a --nodeps.

Is it known you get a ipa-upgrade message during installation of the plugin itself ?