From 9e155432c7206efa1a3703a21850f750de8fe964 Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Tue, 19 May 2026 18:54:37 -0400 Subject: [PATCH] import UBI python-ldap-3.4.5-2.el10 --- .gitignore | 2 +- python-ldap.spec | 40 +++++++++++++++++++++------------------- sources | 2 +- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 7187ac7..38e9b4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -python-ldap-3.4.4.tar.gz +python_ldap-3.4.5.tar.gz diff --git a/python-ldap.spec b/python-ldap.spec index 4768c11..a8c1166 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -1,8 +1,8 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.6.5) +## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 9; + release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} @@ -17,12 +17,12 @@ %global pypi_name python-ldap Name: python-ldap -Version: 3.4.4 +Version: 3.4.5 Release: %autorelease License: python-ldap Summary: An object-oriented API to access LDAP directory servers URL: https://python-ldap.org/ -Source0: %{pypi_source} +Source0: %{pypi_source python_ldap} # Conditionally applied paches, numbereed > 100 Patch101: 0101-Disable-openldap-servers-tests.patch @@ -33,14 +33,11 @@ BuildRequires: openldap-devel >= %{openldap_version} BuildRequires: openssl-devel BuildRequires: cyrus-sasl-devel BuildRequires: python3-devel -BuildRequires: python3-setuptools # Test dependencies %if %{with servers} BuildRequires: openldap-servers >= %{openldap_version} %endif BuildRequires: openldap-clients >= %{openldap_version} -BuildRequires: python3-pyasn1 >= 0.3.7 -BuildRequires: python3-pyasn1-modules >= 0.1.5 %global _description\ python-ldap provides an object-oriented API for working with LDAP within\ @@ -67,7 +64,7 @@ Provides: python3-pyldap%{?_isa} = %{version}-%{release} %prep -%autosetup -p1 -n %{name}-%{version}%{?prerelease} -N +%autosetup -p1 -n python_ldap-%{version}%{?prerelease} -N %autopatch -p1 -M100 %if %{without servers} %autopatch -p1 101 @@ -77,8 +74,12 @@ Provides: python3-pyldap%{?_isa} = %{version}-%{release} find . -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|' +%generate_buildrequires +%pyproject_buildrequires + + %build -%py3_build +%pyproject_wheel %check @@ -86,21 +87,22 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m unittest discover -v %install -%py3_install +%pyproject_install +%pyproject_save_files -l ldap slapdtest ldapurl ldif _ldap -%files -n python3-ldap -%license LICENCE +%files -n python3-ldap -f %{pyproject_files} %doc CHANGES README TODO Demo -%{python3_sitearch}/_ldap.cpython-*.so -%{python3_sitearch}/ldapurl.py* -%{python3_sitearch}/ldif.py* -%{python3_sitearch}/__pycache__/* -%{python3_sitearch}/slapdtest/ -%{python3_sitearch}/ldap/ -%{python3_sitearch}/python_ldap-%{version}%{?prerelease}-py%{python3_version}.egg-info/ %changelog ## START: Generated by rpmautospec +* Thu Dec 11 2025 Simon Pichugin - 3.4.5-2 +- Update to 3.4.5 version +- Update the spec to use pyproject macros +- Resolves: RHEL-129936 + +* Tue Dec 02 2025 Simon Pichugin - 3.4.5-1 +- Update to 3.4.5 version + * Tue Dec 10 2024 Viktor Ashirov - 3.4.4-9 - Convert STI tests to FMF diff --git a/sources b/sources index 02e948f..67032cf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-ldap-3.4.4.tar.gz) = f0e7c5af4399ebb7331e6b41008b4dd54193fc47d6c48d53a0c155bc6cf9735b45128ae06442abe59ffbaf2282ea1a804484923e886f8b457c57cc727210bdfc +SHA512 (python_ldap-3.4.5.tar.gz) = c2561b6ac6deb5ec10006767310414f1754eb010633fb670c0abc4c268ef5c15a3b84b049cc38b78bb56c80853de96d21263fa596067b9abe9501e58496f5bdb