diff options
author | Sumit Bose <sbose@redhat.com> | 2013-04-22 17:57:53 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-03 20:06:29 +0200 |
commit | c080a11e9e88f35e40aff4e476cabbd971833019 (patch) | |
tree | 21e09bfcf64d754ea5236c089e0dc0655f9f5041 /contrib/sssd.spec.in | |
parent | 2a9af1f71887f02935e2fb6ad5023afba5b6d43e (diff) | |
download | sssd-c080a11e9e88f35e40aff4e476cabbd971833019.tar.gz sssd-c080a11e9e88f35e40aff4e476cabbd971833019.tar.xz sssd-c080a11e9e88f35e40aff4e476cabbd971833019.zip |
Add python interface to libsss_nss_idmap
To allow to use libsss_nss_idmap from python applications, e.g. the
FreeIPA server, the patch adds pythin bindings to libsss_nss_idmap. The
contributed spec file will place the python bindings in a new package
called libsss_nss_idmap-python.
Alexander Bokovoy <abokovoy@redhat.com> kindly provided the code to
check the type of the python objects and loop over the list entries.
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r-- | contrib/sssd.spec.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index d799ca21d..0ad83a481 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -249,6 +249,16 @@ Requires: libsss_nss_idmap = %{version}-%{release} %description -n libsss_nss_idmap-devel Utility library for SID based lookups +%package -n libsss_nss_idmap-python +Summary: Python bindings for libsss_nss_idmap +Group: Development/Libraries +License: LGPLv3+ +Requires: libsss_nss_idmap = %{version}-%{release} + +%description -n libsss_nss_idmap-python +The libsss_nss_idmap-python contains the bindings so that libsss_nss_idmap can +be used by Python applications. + %package -n libsss_sudo Summary: A library to allow communication between SUDO and SSSD Group: Development/Libraries @@ -558,6 +568,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libsss_nss_idmap.so %{_libdir}/pkgconfig/sss_nss_idmap.pc +%files -n libsss_nss_idmap-python +%defattr(-,root,root,-) +%{python_sitearch}/pysss_nss_idmap.so + %package -n libsss_autofs Summary: A library to allow communication between Autofs and SSSD Group: Development/Libraries |