[Freeipa-devel] [PATCH] CLIENT: Explicitly require python-backports-ssl_match_hostname
Jakub Hrozek
jhrozek at redhat.com
Mon Sep 1 11:15:02 UTC 2014
On Mon, Sep 01, 2014 at 11:01:23AM +0200, Martin Kosek wrote:
> On 08/25/2014 07:36 PM, Jakub Hrozek wrote:
> > Hi,
> >
> > ipa-client-install was failing for me on a fresh F-21 machine until I
> > manually dragged in python-backports-ssl_match_hostname
>
> Umh, thanks for the fix, but I do not think this spec is actually used in our
> build process. The last update was done in 2008 :-)
>
> We only use the global freeipa.spec.in and build client from that. I think we
> should just delete the old one.
>
> Martin
OK, I promise to test my patches next time :-)
rpm -q --requires shows the python-backports-ssl_match_hostname
dependency now.
What about the one in attachment? If it doesn't work for you, feel free
to just take over the patch..
-------------- next part --------------
>From 99b10a6b0bc342cea7a5764c331951f95daf8b89 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Mon, 1 Sep 2014 13:01:41 +0200
Subject: [PATCH] CLIENT: Explicitly require
python-backports-ssl_match_hostname
Without python-backports-ssl_match_hostname installed, an ipa-client
installation could have failed with:
from backports.ssl_match_hostname import match_hostname
ImportError: No module named ssl_match_hostname
This patch adds an explicit dependency to
python-backports-ssl_match_hostname.
---
freeipa.spec.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 6df4f06f2925700a35a4fc608c379ac400caa888..07824fed6cc22645f933681d821b79531c880bb8 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -203,6 +203,7 @@ Requires: libsss_autofs
Requires: autofs
Requires: libnfsidmap
Requires: nfs-utils
+Requires: python-backports-ssl_match_hostname
Requires(post): policycoreutils
Obsoletes: ipa-client >= 1.0
--
1.9.3
More information about the Freeipa-devel
mailing list