Re: [Freeipa-devel] [PATCH] 25 Update minimum required version of python-netaddr
On 07/01/2011 09:04 PM, Jan Cholasta wrote: On 1.7.2011 16:34, Jakub Hrozek wrote: On 07/01/2011 06:35 AM, Jan Cholasta wrote: On 28.6.2011 16:14, Jakub Hrozek wrote: On 06/28/2011 08:52 AM, Jan Cholasta wrote: https://fedorahosted.org/freeipa/ticket/1288 Honza I gather this is done in order to get rid of the try: except all hack in installer? This works fine with F15 and F16 in mind. However, if the specfile is intended for being usable on RHEL as well (at least for development), some %if magic is required -- the fix is not there yet. Updated so that 0.7.5-3 is required on Fedora = 15 and RHEL = 6. Honza Sorry, I wasn't clear in the previous message. The fix so far is *only* in Fedora, not in any RHEL versions. So the versioned requires must apply only to Fedora until we release python-netaddr errata, be it in 6.2 or 6.3 Thanks for the info. I really need to learn more about RHEL :-) Updated patch attached. Honza I missed the new revision - sorry. Ack! signature.asc Description: OpenPGP digital signature ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] 25 Update minimum required version of python-netaddr
Jakub Hrozek wrote: On 07/01/2011 09:04 PM, Jan Cholasta wrote: On 1.7.2011 16:34, Jakub Hrozek wrote: On 07/01/2011 06:35 AM, Jan Cholasta wrote: On 28.6.2011 16:14, Jakub Hrozek wrote: On 06/28/2011 08:52 AM, Jan Cholasta wrote: https://fedorahosted.org/freeipa/ticket/1288 Honza I gather this is done in order to get rid of the try: except all hack in installer? This works fine with F15 and F16 in mind. However, if the specfile is intended for being usable on RHEL as well (at least for development), some %if magic is required -- the fix is not there yet. Updated so that 0.7.5-3 is required on Fedora= 15 and RHEL= 6. Honza Sorry, I wasn't clear in the previous message. The fix so far is *only* in Fedora, not in any RHEL versions. So the versioned requires must apply only to Fedora until we release python-netaddr errata, be it in 6.2 or 6.3 Thanks for the info. I really need to learn more about RHEL :-) Updated patch attached. Honza I missed the new revision - sorry. Ack! pushed to master and ipa-2-0 ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] 25 Update minimum required version of python-netaddr
On 28.6.2011 16:14, Jakub Hrozek wrote: On 06/28/2011 08:52 AM, Jan Cholasta wrote: https://fedorahosted.org/freeipa/ticket/1288 Honza I gather this is done in order to get rid of the try: except all hack in installer? This works fine with F15 and F16 in mind. However, if the specfile is intended for being usable on RHEL as well (at least for development), some %if magic is required -- the fix is not there yet. Updated so that 0.7.5-3 is required on Fedora = 15 and RHEL = 6. Honza -- Jan Cholasta From 8d7588281c474180bde593ee3d291df3d2f09826 Mon Sep 17 00:00:00 2001 From: Jan Cholasta jchol...@redhat.com Date: Tue, 28 Jun 2011 11:15:26 +0200 Subject: [PATCH] Update minimum required version of python-netaddr. ticket 1288 --- freeipa.spec.in |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index 5ba38cb..59834ba 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -50,7 +50,11 @@ BuildRequires: python-ldap BuildRequires: python-setuptools BuildRequires: python-krbV BuildRequires: python-nss +%if 0%{?fedora} = 15 || 0%{?rhel} = 6 +BuildRequires: python-netaddr = 0.7.5-3 +%else BuildRequires: python-netaddr +%endif BuildRequires: python-kerberos BuildRequires: python-rhsm BuildRequires: pyOpenSSL @@ -192,7 +196,11 @@ Requires: iproute Requires: pyOpenSSL Requires: python-nss = 0.11 Requires: python-lxml +%if 0%{?fedora} = 15 || 0%{?rhel} = 6 +Requires: python-netaddr = 0.7.5-3 +%else Requires: python-netaddr +%endif Obsoletes: ipa-python = 1.0 -- 1.7.4.4 ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] 25 Update minimum required version of python-netaddr
On 07/01/2011 06:35 AM, Jan Cholasta wrote: On 28.6.2011 16:14, Jakub Hrozek wrote: On 06/28/2011 08:52 AM, Jan Cholasta wrote: https://fedorahosted.org/freeipa/ticket/1288 Honza I gather this is done in order to get rid of the try: except all hack in installer? This works fine with F15 and F16 in mind. However, if the specfile is intended for being usable on RHEL as well (at least for development), some %if magic is required -- the fix is not there yet. Updated so that 0.7.5-3 is required on Fedora = 15 and RHEL = 6. Honza Sorry, I wasn't clear in the previous message. The fix so far is *only* in Fedora, not in any RHEL versions. So the versioned requires must apply only to Fedora until we release python-netaddr errata, be it in 6.2 or 6.3 ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] 25 Update minimum required version of python-netaddr
On 1.7.2011 16:34, Jakub Hrozek wrote: On 07/01/2011 06:35 AM, Jan Cholasta wrote: On 28.6.2011 16:14, Jakub Hrozek wrote: On 06/28/2011 08:52 AM, Jan Cholasta wrote: https://fedorahosted.org/freeipa/ticket/1288 Honza I gather this is done in order to get rid of the try: except all hack in installer? This works fine with F15 and F16 in mind. However, if the specfile is intended for being usable on RHEL as well (at least for development), some %if magic is required -- the fix is not there yet. Updated so that 0.7.5-3 is required on Fedora = 15 and RHEL = 6. Honza Sorry, I wasn't clear in the previous message. The fix so far is *only* in Fedora, not in any RHEL versions. So the versioned requires must apply only to Fedora until we release python-netaddr errata, be it in 6.2 or 6.3 Thanks for the info. I really need to learn more about RHEL :-) Updated patch attached. Honza -- Jan Cholasta From 5ebbd00e1e5a59974f46156263e4fc71cfd75b76 Mon Sep 17 00:00:00 2001 From: Jan Cholasta jchol...@redhat.com Date: Tue, 28 Jun 2011 11:15:26 +0200 Subject: [PATCH] Update minimum required version of python-netaddr. ticket 1288 --- freeipa.spec.in |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index 5ba38cb..4949dcd 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -50,7 +50,11 @@ BuildRequires: python-ldap BuildRequires: python-setuptools BuildRequires: python-krbV BuildRequires: python-nss +%if 0%{?fedora} = 15 +BuildRequires: python-netaddr = 0.7.5-3 +%else BuildRequires: python-netaddr +%endif BuildRequires: python-kerberos BuildRequires: python-rhsm BuildRequires: pyOpenSSL @@ -192,7 +196,11 @@ Requires: iproute Requires: pyOpenSSL Requires: python-nss = 0.11 Requires: python-lxml +%if 0%{?fedora} = 15 +Requires: python-netaddr = 0.7.5-3 +%else Requires: python-netaddr +%endif Obsoletes: ipa-python = 1.0 -- 1.7.4.4 ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
[Freeipa-devel] [PATCH] 25 Update minimum required version of python-netaddr
https://fedorahosted.org/freeipa/ticket/1288 Honza -- Jan Cholasta From 1738b9d1027218bc721e44c6f8edbe5aa68261ab Mon Sep 17 00:00:00 2001 From: Jan Cholasta jchol...@redhat.com Date: Tue, 28 Jun 2011 11:15:26 +0200 Subject: [PATCH] Update minimum required version of python-netaddr. ticket 1288 --- freeipa.spec.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index 5ba38cb..69e6e96 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -50,7 +50,7 @@ BuildRequires: python-ldap BuildRequires: python-setuptools BuildRequires: python-krbV BuildRequires: python-nss -BuildRequires: python-netaddr +BuildRequires: python-netaddr = 0.7.5-3 BuildRequires: python-kerberos BuildRequires: python-rhsm BuildRequires: pyOpenSSL @@ -192,7 +192,7 @@ Requires: iproute Requires: pyOpenSSL Requires: python-nss = 0.11 Requires: python-lxml -Requires: python-netaddr +Requires: python-netaddr = 0.7.5-3 Obsoletes: ipa-python = 1.0 -- 1.7.4.4 ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] 25 Update minimum required version of python-netaddr
On 06/28/2011 08:52 AM, Jan Cholasta wrote: https://fedorahosted.org/freeipa/ticket/1288 Honza I gather this is done in order to get rid of the try: except all hack in installer? This works fine with F15 and F16 in mind. However, if the specfile is intended for being usable on RHEL as well (at least for development), some %if magic is required -- the fix is not there yet. ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel