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

Patch attached.
From 3f3cfeb7d26f0b775f2ad40650ba085763ebd86f Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Thu, 25 Feb 2016 17:47:10 +0100
Subject: [PATCH] spec: Add missing dependencies to python*-ipalib package

Standalone instalation of python*-ipalib packages does not pull all
required packages and results into import errors.

https://fedorahosted.org/freeipa/ticket/5680
---
 freeipa.spec.in | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index 219c5ca2f13eaac14746ec4689ba611bbc6fc377..9a6cbfa7165735117c95876a8b27981c9d55b438 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -456,12 +456,14 @@ Requires: keyutils
 Requires: pyOpenSSL
 Requires: python-nss >= 0.16
 Requires: python-cryptography
+Requires: python-custodia
 Requires: python-lxml
 Requires: python-netaddr
 Requires: python-libipa_hbac
 Requires: python-qrcode-core >= 5.0.0
 Requires: python-pyasn1
 Requires: python-dateutil
+Requires: python-dns >= 1.11.1
 Requires: python-yubico >= 1.2.3
 Requires: python-sss-murmur
 Requires: dbus-python
@@ -469,6 +471,8 @@ Requires: python-setuptools
 Requires: python-six
 Requires: python-jwcrypto
 Requires: python-cffi
+Requires: python-ldap >= 2.4.15
+Requires: python-requests
 
 Conflicts: %{alt_name}-python < %{version}
 
@@ -500,12 +504,14 @@ Requires: keyutils
 Requires: python3-pyOpenSSL
 Requires: python3-nss >= 0.16
 Requires: python3-cryptography
+Requires: python3-custodia
 Requires: python3-lxml
 Requires: python3-netaddr
 Requires: python3-libipa_hbac
 Requires: python3-qrcode-core >= 5.0.0
 Requires: python3-pyasn1
 Requires: python3-dateutil
+Requires: python3-dns >= 1.11.1
 Requires: python3-yubico >= 1.2.3
 Requires: python3-sss-murmur
 Requires: python3-dbus
@@ -513,6 +519,8 @@ Requires: python3-setuptools
 Requires: python3-six
 Requires: python3-jwcrypto
 Requires: python3-cffi
+# Requires: python3-ldap >= 2.4.15 # uncomment when python3 package will be ready
+Requires: python3-requests
 
 %description -n python3-ipalib
 IPA is an integrated solution to provide centrally managed Identity (users,
-- 
2.5.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to