diff --git a/python-ldap3.changes b/python-ldap3.changes index 642d0d1..c33bc37 100644 --- a/python-ldap3.changes +++ b/python-ldap3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 30 10:24:47 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Jan 30 15:11:06 UTC 2024 - Antonio Larrosa diff --git a/python-ldap3.spec b/python-ldap3.spec index 05dc1ce..c010284 100644 --- a/python-ldap3.spec +++ b/python-ldap3.spec @@ -1,7 +1,7 @@ # # 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 # 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 # skip over tests failing because of the missing local LDAP server running Patch0: skip-missing-LDAP-server.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyasn1 >= 0.4.6} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -52,10 +54,10 @@ The name has been changed to avoid confusion with the python-ldap library. dos2unix COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -66,6 +68,6 @@ export STRATEGY=SYNC SERVER=EDIR DECODER=INTERNAL %license COPYING.LESSER.txt COPYING.txt LICENSE.txt %doc README.rst %{python_sitelib}/ldap3 -%{python_sitelib}/ldap3-*-py*.egg-info +%{python_sitelib}/ldap3-*-py*.egg[-_]info %changelog