Summary: A library for accessing, testing, and configuring the 389 Directory Server Name: lib389 Version: 1.0.1 Release: 1%{?dist} Source0: http://port389.org/binaries/%{name}-%{version}-1.tar.bz2 License: GPLv3+ Group: Development/Libraries BuildArch: noarch Url: http://www.port389.org/docs/389ds/FAQ/upstream-test-framework.html BuildRequires: python2-devel python-ldap krb5-devel python-krbV pytest # Currently python-ldap is not python3 compatible, so lib389 only works with # python 2.7 %description This repository contains tools and libraries for accessing, testing, and configuring the 389 Directory Server. %prep %setup -qc mv %{name}-%{version}-1 src_root %build pushd src_root CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build popd %install pushd src_root %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT popd for file in $RPM_BUILD_ROOT%{python2_sitelib}/lib389/clitools/*.py; do chmod a+x $file done %check pushd src_root %{__python2} setup.py test popd %files %license src_root/LICENSE %doc src_root/README %{python2_sitelib}/* %changelog * Tue Dec 1 2015 Mark Reynolds - 1.0.1-1 - Bugzilla 1287846 - Submit lib389 python module to access the 389 Directory Server