change packaging to fix error

This commit is contained in:
liuyumeng 2022-03-31 20:16:39 +08:00
parent 0b3fbbf51d
commit cc393915d0

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