Hello, This will make a python3-ipaclient RPM. -- Petr Viktorin
From 7fed33caa22d8bc26345bbaef7879fde04d85a31 Mon Sep 17 00:00:00 2001 From: Petr Viktorin <pvikt...@redhat.com> Date: Fri, 19 Feb 2016 14:54:18 +0100 Subject: [PATCH] Package python3-ipaclient
Part of the work for https://fedorahosted.org/freeipa/ticket/5638 --- freeipa.spec.in | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/freeipa.spec.in b/freeipa.spec.in index 8a580b17b9ec399d97d3b796677160f42b67453f..b15106338d52914f3bf8bfb88500540b59789788 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -370,6 +370,30 @@ If your network uses IPA for authentication, this package should be installed on every client machine. +%if 0%{?with_python3} + +%package -n python3-ipaclient +Summary: Python libraries used by IPA client +Group: System Environment/Libraries +BuildArch: noarch +%{?python_provide:%python_provide python3-ipaclient} +Requires: %{name}-client-common = %{version}-%{release} +Requires: %{name}-common = %{version}-%{release} +Requires: python3-ipalib = %{version}-%{release} +Requires: python3-dns >= 1.11.1 + +%description -n python3-ipaclient +IPA is an integrated solution to provide centrally managed Identity (users, +hosts, services), Authentication (SSO, 2FA), and Authorization +(host access control, SELinux user roles, services). The solution provides +features for further integration with Linux based clients (SUDO, automount) +and integration with Active Directory based infrastructures (Trusts). +If your network uses IPA for authentication, this package should be +installed on every client machine. + +%endif # with_python3 + + %package client-common Summary: Common files used by IPA client Group: System Environment/Base @@ -695,6 +719,7 @@ make client-install DESTDIR=%{buildroot} (cd ipalib && make PYTHON=%{__python3} IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} DESTDIR=%{buildroot} install) (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 @@ -1263,6 +1288,19 @@ fi %{python_sitelib}/ipaclient/*.py* %{python_sitelib}/ipaclient-*.egg-info +%if 0%{?with_python3} + +%files -n python3-ipaclient +%defattr(-,root,root,-) +%doc README Contributors.txt +%license COPYING +%dir %{python3_sitelib}/ipaclient +%{python3_sitelib}/ipaclient/*.py +%{python3_sitelib}/ipaclient/__pycache__/*.py* +%{python3_sitelib}/ipaclient-*.egg-info + +%endif # with_python3 + %files client-common %defattr(-,root,root,-) -- 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