diff --git a/ldappool-3.0.0.tar.gz b/ldappool-3.0.0.tar.gz deleted file mode 100644 index af4528847cd3f9ce45a1c6f4bf02dc47323ad7ae..0000000000000000000000000000000000000000 Binary files a/ldappool-3.0.0.tar.gz and /dev/null differ diff --git a/python-ldap-3.4.0.tar.gz b/python-ldap-3.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..99643101b271d52a585dba1924526d154b3ded68 Binary files /dev/null and b/python-ldap-3.4.0.tar.gz differ diff --git a/python-ldappool.spec b/python-ldappool.spec index 6ce5764a84374c61eee8297888bb497ecf304990..4614608820efc60f86c659ea9b8889e1faa669bb 100644 --- a/python-ldappool.spec +++ b/python-ldappool.spec @@ -1,12 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-ldappool -Version: 3.0.0 +Version: 3.4.0 Release: 1 Summary: A simple connector pool for python-ldap. License: Mozilla Public License 2.0 (MPL 2.0) URL: https://opendev.org/openstack/ldappool -Source0: https://files.pythonhosted.org/packages/d8/9b/8c36ccbfd74a32625d7fc0cfe9d3bc71d60237d98fa68e2de2d44359a2bf/ldappool-3.0.0.tar.gz -BuildArch: noarch +Source0: %{version}/python-ldap-%{version}.tar.gz + %description A simple connector pool for python-ldap. The pool keeps LDAP connectors alive and let you reuse them, @@ -15,6 +15,8 @@ drastically reducing the time spent to initiate a ldap connection. %package -n python3-ldappool Summary: A simple connector pool for python-ldap. Provides: python-ldappool + +BuildRequires: openldap-devel # Base build requires BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -41,7 +43,7 @@ The pool keeps LDAP connectors alive and let you reuse them, drastically reducing the time spent to initiate a ldap connection. %prep -%autosetup -n ldappool-%{version} +%autosetup -n python-ldap-%{version} %build %py3_build @@ -55,9 +57,9 @@ if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi +#if [ -d usr/lib ]; then +# find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +#fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi @@ -84,6 +86,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Jul 22 2022 liksh - 3.4.0-1 +- upgrade to 3.4.0 for openstack yoga + * Mon Jul 12 2021 huangtianhua - 3.0.0-1 - Upgrade to 3.0.0 to support OpenStack-W