Compare commits
No commits in common. "dc08e3674f0be4f07ec7904214480f3d5482fc37" and "b37e08a1318e053e867b5383cd2cfbda9f81c4bc" have entirely different histories.
dc08e3674f
...
b37e08a131
BIN
python-ldap-3.1.0.tar.gz
Normal file
BIN
python-ldap-3.1.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,13 +1,14 @@
|
|||||||
Name: python-ldap
|
%define debug_package %{nil}
|
||||||
Version: 3.4.4
|
Name: python-ldap
|
||||||
Release: 1
|
Version: 3.1.0
|
||||||
|
Release: 4
|
||||||
Summary: An object-oriented API to access LDAP directory servers
|
Summary: An object-oriented API to access LDAP directory servers
|
||||||
License: Python-2.0
|
License: Python
|
||||||
URL: http://python-ldap.org/
|
URL: http://python-ldap.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc openldap-devel
|
BuildRequires: gcc openldap-devel openssl-devel cyrus-sasl-devel
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools openldap-servers
|
||||||
|
|
||||||
%description
|
%description
|
||||||
python-ldap provides an object-oriented API for working with LDAP within\
|
python-ldap provides an object-oriented API for working with LDAP within\
|
||||||
@ -34,11 +35,11 @@ OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks\
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{version}
|
%autosetup -n %{name}-%{version}
|
||||||
find . -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|'
|
find . -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|'
|
||||||
sed -i 's,-Werror,-Wignore,g' tox.ini
|
sed -i 's,-Werror,-Wignore,g' tox.ini
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
||||||
@ -55,45 +56,12 @@ sed -i 's,-Werror,-Wignore,g' tox.ini
|
|||||||
%doc CHANGES README TODO Demo
|
%doc CHANGES README TODO Demo
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Oct 14 2020 shixuantong<shixuantong@huawei.com> - 3.1.0-4
|
||||||
- delete useless buildrequires
|
- delete useless buildrequires
|
||||||
|
|
||||||
* Tue Jun 23 2020 wangchong <wangchong56@huawei.com> - 3.1.0-3
|
* Tue Jun 23 2020 wangchong <wangchong56@huawei.com> - 3.1.0-3
|
||||||
- replace numbers with macros
|
- replace numbers with macros
|
||||||
|
|
||||||
* Mon Jun 22 2020 wangchong <wangchong56@huawei.com> - 3.1.0-2
|
* Mon Jun 22 2020 wangchong <wangchong56@huawei.com> - 3.1.0-2
|
||||||
- fix the build error
|
- fix the build error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user