!22 【轻量级PR】删除spec文件中不必要的编译依赖

From: @kkzhs_admin 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-03-07 02:20:44 +00:00 committed by Gitee
commit b8ab598678
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,14 +1,14 @@
%define debug_package %{nil}
Name: python-ldap
Name: python-ldap
Version: 3.3.1
Release: 1
Release: 2
Summary: An object-oriented API to access LDAP directory servers
License: Python
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\
@ -56,8 +56,11 @@ sed -i 's,-Werror,-Wignore,g' tox.ini
%doc CHANGES README TODO Demo
%changelog
* 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
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update python-ldap to 3.3.1
@ -67,7 +70,7 @@ sed -i 's,-Werror,-Wignore,g' tox.ini
* 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