!5 replace numbers with macros

Merge pull request !5 from Causeway_Bay/master
This commit is contained in:
openeuler-ci-bot 2020-06-23 09:53:01 +08:00 committed by Gitee
commit c731555225

View File

@ -1,7 +1,7 @@
%define debug_package %{nil} %define debug_package %{nil}
Name: python-ldap Name: python-ldap
Version: 3.1.0 Version: 3.1.0
Release: 2 Release: 3
Summary: An object-oriented API to access LDAP directory servers Summary: An object-oriented API to access LDAP directory servers
License: Python License: Python
URL: http://python-ldap.org/ URL: http://python-ldap.org/
@ -51,13 +51,16 @@ sed -i 's,-Werror,-Wignore,g' tox.ini
%files -n python3-ldap %files -n python3-ldap
%defattr(-,root,root) %defattr(-,root,root)
%license LICENCE %license LICENCE
%{_libdir}/python3.8/site-packages/* %{_libdir}/python%{python3_version}/site-packages/*
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGES README TODO Demo %doc CHANGES README TODO Demo
%changelog %changelog
* 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 * Mon Jun 22 2020 wangchong <wangchong56@huawei.com> - 3.1.0-2
- fix the build error - fix the build error