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
Version: 0.3.4
Release: 3
Release: 4
Summary: This module offers a simple interface to query NTP servers from Python.
License: MIT
@ -38,14 +38,16 @@ BuildRequires: python3-devel python3-setuptools
%py3_install
%files -n python3-ntplib
%{python3_sitelib}/ntplib.py
%{python3_sitelib}/ntplib-%{?version}-py?.?.egg-info
%{python3_sitelib}/__pycache__/ntplib*.pyc
%{python3_sitelib}/ntplib*
%exclude %{python3_sitelib}/__pycache__/ntplib*.pyc
%files help
%doc 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
- Type:requirement
- ID:NA