replace numbers with macros

This commit is contained in:
wangchong1995924 2020-06-23 09:37:46 +08:00
parent 98e7e59968
commit a8d86418c8

View File

@ -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 <wangchong56@huawei.com> - 3.1.0-3
- replace numbers with macros
* Mon Jun 22 2020 wangchong <wangchong56@huawei.com> - 3.1.0-2
- fix the build error