diff --git a/python-ldap.spec b/python-ldap.spec index 16a343f353a9f074ab0a4c3b8b605b58e9bde134..5d7f344812f916b12afee24906c168c133f0ef7f 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: 2 +Release: 3 Summary: An object-oriented API to access LDAP directory servers License: Python URL: http://python-ldap.org/ @@ -51,13 +51,16 @@ sed -i 's,-Werror,-Wignore,g' tox.ini %files -n python3-ldap %defattr(-,root,root) %license LICENCE -%{_libdir}/python3.8/site-packages/* +%{_libdir}/python%{python3_version}/site-packages/* %files help %defattr(-,root,root) %doc CHANGES README TODO Demo %changelog +* Tue Jun 23 2020 wangchong - 3.1.0-3 +- replace numbers with macros + * Mon Jun 22 2020 wangchong - 3.1.0-2 - fix the build error