!7 change packaging to fix error

From: @liuyumeng1 
Reviewed-by: @t_feng, @zzm_567 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2022-04-02 08:57:59 +00:00 committed by Gitee
commit 3d30761a04
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,7 +6,7 @@ modules, it should work on any platform with a Python implementation.
Name: python-ntplib Name: python-ntplib
Version: 0.3.4 Version: 0.3.4
Release: 3 Release: 4
Summary: This module offers a simple interface to query NTP servers from Python. Summary: This module offers a simple interface to query NTP servers from Python.
License: MIT License: MIT
@ -38,14 +38,16 @@ BuildRequires: python3-devel python3-setuptools
%py3_install %py3_install
%files -n python3-ntplib %files -n python3-ntplib
%{python3_sitelib}/ntplib.py %{python3_sitelib}/ntplib*
%{python3_sitelib}/ntplib-%{?version}-py?.?.egg-info %exclude %{python3_sitelib}/__pycache__/ntplib*.pyc
%{python3_sitelib}/__pycache__/ntplib*.pyc
%files help %files help
%doc CHANGELOG %doc CHANGELOG
%changelog %changelog
* Tue Mar 31 2022 liuyumeng <liuyumeng5@h-partners.com> - 0.3.4-4
- change packaging to fix error
* Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 0.3.4-3 * Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 0.3.4-3
- Type:requirement - Type:requirement
- ID:NA - ID:NA