forked from pool/python-ldap3
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 936b226c08 | |||
| b116b23fda | |||
| b4f62d63f6 | |||
| ff5c112029 |
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 17 05:04:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Correct version specifier in setup.py.
|
||||||
|
- Switch to autosetup macro.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 30 10:24:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 30 15:11:06 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
Tue Jan 30 15:11:06 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ldap3
|
# spec file for package python-ldap3
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -27,9 +27,11 @@ Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
|
|||||||
# PATCH-FIX-UPSTREAM skip-missing-LDAP-server.patch gh#cannatag/ldap3#843 mcepl@suse.com
|
# PATCH-FIX-UPSTREAM skip-missing-LDAP-server.patch gh#cannatag/ldap3#843 mcepl@suse.com
|
||||||
# skip over tests failing because of the missing local LDAP server running
|
# skip over tests failing because of the missing local LDAP server running
|
||||||
Patch0: skip-missing-LDAP-server.patch
|
Patch0: skip-missing-LDAP-server.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pyasn1 >= 0.4.6}
|
BuildRequires: %{python_module pyasn1 >= 0.4.6}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -46,16 +48,17 @@ This project was formerly named **python3-ldap**.
|
|||||||
The name has been changed to avoid confusion with the python-ldap library.
|
The name has been changed to avoid confusion with the python-ldap library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ldap3-%{version}
|
%autosetup -p1 -n ldap3-%{version}
|
||||||
%autopatch -p1
|
# Remove after 2.10 is released.
|
||||||
|
sed -ie 's/"2.9"/"%{version}"/' _version.json
|
||||||
|
|
||||||
dos2unix COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
|
dos2unix COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -66,6 +69,6 @@ export STRATEGY=SYNC SERVER=EDIR DECODER=INTERNAL
|
|||||||
%license COPYING.LESSER.txt COPYING.txt LICENSE.txt
|
%license COPYING.LESSER.txt COPYING.txt LICENSE.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/ldap3
|
%{python_sitelib}/ldap3
|
||||||
%{python_sitelib}/ldap3-*-py*.egg-info
|
%{python_sitelib}/ldap3-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user