summaryrefslogtreecommitdiffstats
path: root/specs
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@redhat.com>2016-08-05 14:34:57 -0600
committerMatthew Harmsen <mharmsen@redhat.com>2016-08-05 14:34:57 -0600
commitb04707631a362581804574edd0641a3fdbc16565 (patch)
treefc8fb71497cac98dc37cf8f0879b03b0efb03aaa /specs
parentb7d4f6e9efd8b2e7d26a001f6c18a10b82df6b56 (diff)
downloadpki-b04707631a362581804574edd0641a3fdbc16565.tar.gz
pki-b04707631a362581804574edd0641a3fdbc16565.tar.xz
pki-b04707631a362581804574edd0641a3fdbc16565.zip
Added python-urllib3 dependency
* PKI TRAC Ticket #2431 - Errors noticed during ipa server upgrade.
Diffstat (limited to 'specs')
-rw-r--r--specs/pki-core.spec12
1 files changed, 12 insertions, 0 deletions
diff --git a/specs/pki-core.spec b/specs/pki-core.spec
index fac7192e1..c206b2752 100644
--- a/specs/pki-core.spec
+++ b/specs/pki-core.spec
@@ -156,6 +156,11 @@ BuildRequires: python3-flake8
BuildRequires: python-nss
BuildRequires: python-requests
BuildRequires: python-six
+%if 0%{?rhel}
+BuildRequires: python-urllib3
+%else
+BuildRequires: python2-urllib3
+%endif
BuildRequires: libselinux-python
BuildRequires: policycoreutils-python
%if 0%{?fedora} >= 23
@@ -182,6 +187,7 @@ BuildRequires: python3-devel
BuildRequires: python3-nss
BuildRequires: python3-requests
BuildRequires: python3-six
+BuildRequires: python3-urllib3
%endif # with_python3
BuildRequires: python-devel
@@ -338,6 +344,11 @@ Conflicts: freeipa-server < 3.0.0
Requires: python-nss
Requires: python-requests >= 1.1.0-3
Requires: python-six
+%if 0%{?rhel}
+Requires: python-urllib3
+%else
+Requires: python2-urllib3
+%endif
%description -n pki-base
The PKI Framework contains the common and client libraries and utilities
@@ -424,6 +435,7 @@ Requires: pki-base = %{version}-%{release}
Requires: python3-nss
Requires: python3-requests
Requires: python3-six
+Requires: python3-urllib3
%description -n pki-base-python3
This package contains PKI client library for Python 3.