From a8d86418c8ac1cd083301d9f46906d85b270c98e Mon Sep 17 00:00:00 2001 From: wangchong1995924 <15229716099@163.com> Date: Tue, 23 Jun 2020 09:37:46 +0800 Subject: [PATCH] replace numbers with macros --- python-ldap.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-ldap.spec b/python-ldap.spec index 16a343f..5d7f344 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 -- Gitee