freeipa/ipaplatform
Martin Babinsky 7cd99e8520 use FFI call to rpmvercmp function for version comparison
Stop using rpm-python to compare package versions since the implicit NSS
initialization upon  the module import breaks NSS handling in IPA code. Call
rpm-libs C-API function via CFFI instead.

Big thanks to Martin Kosek <mkosek@redhat.com> for sharing the code snippet
that spurred this patch.

https://fedorahosted.org/freeipa/ticket/5572

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2016-01-11 17:54:36 +01:00
..
base Upgrade: Fix upgrade of NIS Server configuration 2016-01-11 09:45:54 +01:00
fedora Use module variables for timedate_services 2015-12-23 07:57:55 +01:00
redhat use FFI call to rpmvercmp function for version comparison 2016-01-11 17:54:36 +01:00
rhel Use module variables for timedate_services 2015-12-23 07:57:55 +01:00
__init__.py.in Server Upgrade: Verify version and platform 2015-05-04 11:16:26 +00:00
setup.py.in Remove unused imports 2015-12-23 07:59:22 +01:00