diff --git a/python-ldap.spec b/python-ldap.spec index 8b9cc98c1b286881e87d4547de71dc5912edc417..351f1ec745aec6e4ffa25e2c2729edacb90eb088 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: python-ldap Version: 3.1.0 -Release: 3 +Release: 4 Summary: An object-oriented API to access LDAP directory servers License: Python URL: http://python-ldap.org/ @@ -49,13 +49,16 @@ sed -i 's,-Werror,-Wignore,g' tox.ini %files -n python3-ldap %defattr(-,root,root) %license LICENCE -%{_libdir}/python3.7/site-packages/* +%{_libdir}/python%{python3_version}/site-packages/* %files help %defattr(-,root,root) %doc CHANGES README TODO Demo %changelog +* Tue Jan 27 2022 zhaojunfeng - 3.1.0-4 +- fix python3 version bug + * Wed Oct 14 2020 shixuantong - 3.1.0-3 - delete useless buildrequires