diff options
author | Martin Basti <mbasti@redhat.com> | 2016-06-10 10:38:55 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-14 13:07:04 +0200 |
commit | ee08f3e237cb3668c06307aad74e47eb20080474 (patch) | |
tree | 702f1a3f12a65b6364540c795658f40d232e4fe4 | |
parent | 2c7ec27ad94a5a369c7d8a45dcef66a18479900b (diff) | |
download | freeipa-ee08f3e237cb3668c06307aad74e47eb20080474.tar.gz freeipa-ee08f3e237cb3668c06307aad74e47eb20080474.tar.xz freeipa-ee08f3e237cb3668c06307aad74e47eb20080474.zip |
Revert "Switch /usr/bin/ipa to Python 3"
This reverts commit 1ebd8334bc7da95f1edd64fc930e9cd6e3650534.
Switch 'ipa' command to py3 has been done prematurely, thus this commit
reverts it from IPA 4.3.2 and temporarily from master because it is
blocker for developing of the new features.
https://fedorahosted.org/freeipa/ticket/5638
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
-rw-r--r-- | freeipa.spec.in | 11 | ||||
-rwxr-xr-x | ipa | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in index 58344695c..f51fec4eb 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -421,11 +421,7 @@ installed on every client machine. Summary: IPA administrative tools Group: System Environment/Base BuildArch: noarch -%if 0%{?with_python3} -Requires: python3-ipaclient = %{version}-%{release} -%else Requires: python2-ipaclient = %{version}-%{release} -%endif Requires: python-ldap Provides: %{alt_name}-admintools = %{version} @@ -741,13 +737,6 @@ make client-install DESTDIR=%{buildroot} (cd ipapython && make PYTHON=%{__python3} IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} DESTDIR=%{buildroot} install) (cd ipaplatform && %{__python3} setup.py install --root %{buildroot}) (cd ipaclient && %{__python3} setup.py install --root %{buildroot}) - -# Switch shebang of /usr/bin/ipa -# XXX: This script is installed with ipaserver. When all of ipaserver is -# built with Python 3, this will no longer be necessary (as long as the py3 -# version is installed after the py2 version, so it overwrites /usr/bin/ipa) -sed -i -e'1s/python\(2\|$\)/python3/' %{buildroot}%{_bindir}/ipa - %endif # with_python3 %find_lang %{gettext_domain} @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/python2 # Authors: # Jason Gerard DeRose <jderose@redhat.com> |