Compare commits
10 Commits
b37e08a131
...
dc08e3674f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc08e3674f | ||
|
|
aeb16eebdd | ||
|
|
c36bcaca97 | ||
|
|
1176596ece | ||
|
|
a2d4605edf | ||
|
|
1a07ecdfc5 | ||
|
|
b8ab598678 | ||
|
|
faa2eb4733 | ||
|
|
f815d4cde4 | ||
|
|
304614b64c |
Binary file not shown.
BIN
python-ldap-3.4.4.tar.gz
Normal file
BIN
python-ldap-3.4.4.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,13 @@
|
||||
%define debug_package %{nil}
|
||||
Name: python-ldap
|
||||
Version: 3.1.0
|
||||
Release: 4
|
||||
Name: python-ldap
|
||||
Version: 3.4.4
|
||||
Release: 1
|
||||
Summary: An object-oriented API to access LDAP directory servers
|
||||
License: Python
|
||||
License: Python-2.0
|
||||
URL: http://python-ldap.org/
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc openldap-devel openssl-devel cyrus-sasl-devel
|
||||
BuildRequires: python3-devel python3-setuptools openldap-servers
|
||||
BuildRequires: gcc openldap-devel
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
|
||||
%description
|
||||
python-ldap provides an object-oriented API for working with LDAP within\
|
||||
@ -35,11 +34,11 @@ OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks\
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
find . -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|'
|
||||
sed -i 's,-Werror,-Wignore,g' tox.ini
|
||||
%build
|
||||
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
||||
@ -56,12 +55,45 @@ sed -i 's,-Werror,-Wignore,g' tox.ini
|
||||
%doc CHANGES README TODO Demo
|
||||
|
||||
%changelog
|
||||
* Thu Feb 1 2024 liubo <liubo335@huawei.com> - 3.4.4-1
|
||||
- Type: requirement
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC: update to version 3.4.4
|
||||
|
||||
* Fri Aug 05 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3.1-5
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:fix a system error and optimize the checking of LDAP results
|
||||
|
||||
* Fri Aug 05 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3.1-4
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:modify to generate debug rpms
|
||||
|
||||
* Tue Jul 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3.1-3
|
||||
- Type:CVE
|
||||
- Id:CVE-2021-46823
|
||||
- SUG:NA
|
||||
- DESC:fix CVE-2021-46823
|
||||
|
||||
* Fri Mar 04 2022 zhaoshuang <zhaoshuang@uniontech.com> - 3.3.1-2
|
||||
- remove some unnecessary buildrequires
|
||||
|
||||
* Tue Feb 02 2021 xihaochen <xihaochen@huawei.com> - 3.3.1-1
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:update python-ldap to 3.3.1
|
||||
|
||||
* Wed Oct 14 2020 shixuantong<shixuantong@huawei.com> - 3.1.0-4
|
||||
- delete useless buildrequires
|
||||
|
||||
* Tue Jun 23 2020 wangchong <wangchong56@huawei.com> - 3.1.0-3
|
||||
- replace numbers with macros
|
||||
|
||||
|
||||
* Mon Jun 22 2020 wangchong <wangchong56@huawei.com> - 3.1.0-2
|
||||
- fix the build error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user