diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-09-14 13:03:57 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-21 10:35:08 -0400 |
commit | 9570ca098cd0e92d1eb6aabc00fb8cac9fddd442 (patch) | |
tree | 38c745cd87c48aac9c195314782edd954c9e8287 /contrib | |
parent | 8f035b043dbd4eb631b64c4d7dcdb35272e35142 (diff) | |
download | sssd-9570ca098cd0e92d1eb6aabc00fb8cac9fddd442.tar.gz sssd-9570ca098cd0e92d1eb6aabc00fb8cac9fddd442.tar.xz sssd-9570ca098cd0e92d1eb6aabc00fb8cac9fddd442.zip |
Provide python bindings for sysdb
Implement a set of python bindings for the sysdb with feature set
similar to what is available in the tools. The primary
consumers would be applications like system-config-users.
Resolves: Ticket #102
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index e5134c062..408d44936 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -1,3 +1,5 @@ +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: 0@PRERELEASE_VERSION@%{?dist} @@ -48,6 +50,7 @@ BuildRequires: libxml2 BuildRequires: docbook-style-xsl BuildRequires: krb5-devel BuildRequires: c-ares-devel +BuildRequires: python-devel %description Provides a set of daemons to manage access to remote directories and @@ -86,7 +89,8 @@ rm -f \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_ldap.la \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_proxy.la \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_krb5.la \ - $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.la + $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.la \ + $RPM_BUILD_ROOT/%{python_sitearch}/pysss.la %clean rm -rf $RPM_BUILD_ROOT @@ -118,6 +122,7 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/* %{_datadir}/locale/*/LC_MESSAGES/sss_client.mo %{_datadir}/locale/*/LC_MESSAGES/sss_daemon.mo +%{python_sitearch}/pysss.so %post /sbin/ldconfig |