forked from pool/python-ldap
Accepting request 939167 from home:stroeder:iam
- skip Python 2 builds
- set PATH when running tests
- update to upstream release 3.4.0
* Security fixes:
- Fix inefficient regular expression which allows denial-of-service attacks
- when parsing specially-crafted LDAP schema.
- (GHSL-2021-117)
* Changes:
- On MacOS, remove option to make LDAP connections from a file descriptor
- when built with the system libldap (which lacks the underlying function,
- ldap_init_fd)
- Attribute values of the post read control are now bytes
- instead of ISO8859-1 decoded str
- LDAPUrl now treats urlscheme as case-insensitive
- Several OpenLDAP options are now supported:
- OPT_X_TLS_REQUIRE_SAN
- OPT_X_SASL_SSF_EXTERNAL
- OPT_X_TLS_PEERCERT
* Fixes:
- The copy() method of cidict was added back. It was unintentionally
- removed in 3.3.0
- Fixed getting/setting SASL options on big endian platforms
- Unknown LDAP result code are now converted to LDAPexception,
- rather than raising a SystemError.
* slapdtest:
- Show stderr of slapd -Ttest
- SlapdObject uses directory-based configuration of slapd
- SlapdObject startup is now faster
OBS-URL: https://build.opensuse.org/request/show/939167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=126
This commit is contained in:
@@ -17,8 +17,11 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
%define skip_python2 1
|
||||
|
||||
Name: python-ldap
|
||||
Version: 3.3.1
|
||||
Version: 3.4.0
|
||||
Release: 0
|
||||
Summary: Python LDAP interface
|
||||
License: Python-2.0
|
||||
@@ -61,7 +64,7 @@ CFLAGS="%{optflags}" %python_build
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%pyunittest_arch discover -v -s Tests -p 't_*'
|
||||
PATH=/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin %pyunittest_arch discover -v -s Tests -p 't_*'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENCE
|
||||
|
||||
Reference in New Issue
Block a user