From 21a0987601dc4fa9de3fe63a18a604337a5edb7b Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Dec 13 2016 13:36:11 +0000 Subject: Build: specify BuildRequires for Python 3 pylint python3-samba is intentionally ommited because it is not in Fedora repos. Pylint somehow magically ignores this missing package. Keep in mind that server will not work until this this solved. https://fedorahosted.org/freeipa/ticket/157 Reviewed-By: Martin Basti Reviewed-By: Christian Heimes --- diff --git a/freeipa.spec.in b/freeipa.spec.in index 4d5d110..fbb3945 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -97,6 +97,7 @@ BuildRequires: python-lesscpy # # Build dependencies for makeapi/makeaci +# makeapi/makeaci is using Python 2 only for now # BuildRequires: python-ldap BuildRequires: python-nss @@ -146,6 +147,44 @@ BuildRequires: python-sssdconfig BuildRequires: python-nose BuildRequires: python-paste BuildRequires: systemd-python + +%if 0%{?with_python3} +# FIXME: this depedency is missing - server will not work +#BuildRequires: python3-samba +BuildRequires: python3-setuptools +# 0.6: serialization.load_pem_private_key, load_pem_public_key +BuildRequires: python3-cryptography >= 1.3.1 +BuildRequires: python3-gssapi >= 1.2.0 +BuildRequires: python3-pylint >= 1.0 +# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1096506 +BuildRequires: python3-polib +BuildRequires: python3-libipa_hbac +BuildRequires: python3-memcached +BuildRequires: python3-lxml +# 5.0.0: QRCode.print_ascii +BuildRequires: python3-qrcode-core >= 5.0.0 +# 1.13: python-dns URI record support +BuildRequires: python3-dns >= 1.13 +BuildRequires: python3-yubico +# pki Python package +# 10.2.1: crypto.NSSCryptoProvider(password_file) +BuildRequires: pki-base-python3 >= 10.2.1 +BuildRequires: python3-pytest-multihost +BuildRequires: python3-pytest-sourceorder +BuildRequires: python3-jwcrypto +BuildRequires: python3-custodia +BuildRequires: python3-dbus +BuildRequires: python3-dateutil +BuildRequires: python3-enum34 +BuildRequires: python3-netifaces +BuildRequires: python3-sss +BuildRequires: python3-sss-murmur +BuildRequires: python3-sssdconfig +BuildRequires: python3-libsss_nss_idmap +BuildRequires: python3-nose +BuildRequires: python3-paste +BuildRequires: python3-systemd +%endif # with_python3 %endif # with_lint # @@ -280,7 +319,7 @@ Requires: %{name}-common = %{version}-%{release} Requires: python3-ipaclient = %{version}-%{release} Requires: python3-pyldap >= 2.4.15 Requires: python3-lxml -Requires: python3-gssapi >= 1.1.2 +Requires: python3-gssapi >= 1.2.0 Requires: python3-sssdconfig Requires: python3-pyasn1 Requires: python3-dbus