forked from pool/python-ldap
Sync changes to SLFO-1.2 branch
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ldap
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,12 +25,11 @@ License: Python-2.0
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://www.python-ldap.org/
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz
|
||||
Patch0: 0001-Use-reentrant-libldap.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pyasn1 >= 0.3.7}
|
||||
BuildRequires: %{python_module pyasn1-modules >= 0.1.5}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: cyrus-sasl-devel >= 2.1
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: krb5-devel
|
||||
@@ -52,14 +51,14 @@ for that purpose. Additionally the package contains modules for other
|
||||
LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
cp Build/setup.cfg.suse-linux setup.cfg
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %pyproject_wheel
|
||||
CFLAGS="%{optflags}" %python_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
|
||||
Reference in New Issue
Block a user