summaryrefslogtreecommitdiffstats
path: root/freeipa.spec.in
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-01-06 13:10:11 +0100
committerMartin Basti <mbasti@redhat.com>2016-01-21 10:21:32 +0100
commit500ee7e2b1fdaa9669cf136a380907cfe4f0f225 (patch)
tree79b5f3ce0c8d0d6caa68512b468d96c76b2daebf /freeipa.spec.in
parentf5f5c8c603e95d246d2cde92f56959fedba4666d (diff)
downloadfreeipa-500ee7e2b1fdaa9669cf136a380907cfe4f0f225.tar.gz
freeipa-500ee7e2b1fdaa9669cf136a380907cfe4f0f225.tar.xz
freeipa-500ee7e2b1fdaa9669cf136a380907cfe4f0f225.zip
ipapython: port p11helper C code to Python
This replaces the binary _ipap11helper module with cffi-based Python code. https://fedorahosted.org/freeipa/ticket/5596 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r--freeipa.spec.in12
1 files changed, 2 insertions, 10 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index d045aab8f..899af6c92 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -93,9 +93,7 @@ BuildRequires: systemd
BuildRequires: libunistring-devel
BuildRequires: python-lesscpy
BuildRequires: python-yubico >= 1.2.3
-BuildRequires: softhsm-devel >= 2.0.0rc1-1
BuildRequires: openssl-devel
-BuildRequires: p11-kit-devel
BuildRequires: pki-base >= 10.2.6
BuildRequires: python-pytest-multihost >= 0.5
BuildRequires: python-pytest-sourceorder
@@ -471,6 +469,7 @@ Requires: dbus-python
Requires: python-setuptools
Requires: python-six
Requires: python-jwcrypto
+Requires: python-cffi
Conflicts: %{alt_name}-python < %{version}
@@ -515,6 +514,7 @@ Requires: python3-dbus
Requires: python3-setuptools
Requires: python3-six
Requires: python3-jwcrypto
+Requires: python3-cffi
%description -n python3-ipalib
IPA is an integrated solution to provide centrally managed Identity (users,
@@ -639,10 +639,6 @@ cd daemons; ../autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localst
cd install; ../autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --libdir=%{_libdir} --mandir=%{_mandir}; cd ..
%endif # ONLY_CLIENT
-%if 0%{?with_python3}
-(cd ipapython/ipap11helper && make PYTHON=%{__python3} IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} all)
-%endif
-
%if ! %{ONLY_CLIENT}
make IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} all
%else
@@ -1311,12 +1307,10 @@ fi
%{python_sitelib}/ipalib/*
%dir %{python_sitelib}/ipaplatform
%{python_sitelib}/ipaplatform/*
-%attr(0644,root,root) %{python_sitearch}/_ipap11helper.so
%{python_sitelib}/ipapython-*.egg-info
%{python_sitelib}/ipalib-*.egg-info
%{python_sitelib}/freeipa-*.egg-info
%{python_sitelib}/ipaplatform-*.egg-info
-%{python_sitearch}/_ipap11helper-*.egg-info
%files common -f %{gettext_domain}.lang
@@ -1338,8 +1332,6 @@ fi
%{python3_sitelib}/ipapython-*.egg-info
%{python3_sitelib}/ipalib-*.egg-info
%{python3_sitelib}/ipaplatform-*.egg-info
-%attr(0644,root,root) %{python3_sitearch}/_ipap11helper.cpython-*.so
-%{python3_sitearch}/_ipap11helper-*.egg-info
%endif # with_python3