forked from pool/python-ldap3
- Reenable testsuite
* Pass || : as some of the tests fail with UNKNOWN-EDIR this means
the testsuite needs localy running ldap server to communicate with
as such it does not make sense to fix those FAILED (errors=39)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
8e063c745c
commit
becfd878ad
@@ -24,14 +24,15 @@ Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client
|
||||
License: LGPL-3.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/cannatag/ldap3
|
||||
Source: https://pypi.io/packages/source/l/ldap3/ldap3-%{version}.tar.gz
|
||||
Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pyasn1 >= 0.1.8}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-testsuite
|
||||
Requires: python-pyasn1 >= 0.1.8
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -53,12 +54,10 @@ sed -i 's/\r$//' COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
# Files needed for tests are not included in tar.gz
|
||||
# %check
|
||||
# nosetests -s test
|
||||
%check
|
||||
%python_exec %{_bindir}/nosetests -s test || :
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING.LESSER.txt COPYING.txt LICENSE.txt README.rst
|
||||
%{python_sitelib}/ldap3
|
||||
%{python_sitelib}/ldap3-%{version}-py*.egg-info
|
||||
|
||||
Reference in New Issue
Block a user