From 04e4e2998ee0d026f07206a2dba66d04022b6f3a Mon Sep 17 00:00:00 2001 From: eaglegai Date: Thu, 29 Oct 2020 10:15:54 +0800 Subject: [PATCH] remove python2, don't support python2 anymore --- python-ntplib.spec | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/python-ntplib.spec b/python-ntplib.spec index 82e2d48..5cfc83f 100644 --- a/python-ntplib.spec +++ b/python-ntplib.spec @@ -6,7 +6,7 @@ modules, it should work on any platform with a Python implementation. Name: python-ntplib Version: 0.3.4 -Release: 2 +Release: 3 Summary: This module offers a simple interface to query NTP servers from Python. License: MIT @@ -18,14 +18,6 @@ BuildArch: noarch %description %package_description -%package -n python2-ntplib -Summary: This module offers a simple interface to query NTP servers from Python 2. -BuildRequires: python2-devel python2-setuptools -%{?python_provide:%python_provide python2-ntplib} - -%description -n python2-ntplib -%package_description - %package -n python3-ntplib Summary: This module offers a simple interface to query NTP servers from Python 3. BuildRequires: python3-devel python3-setuptools @@ -40,17 +32,11 @@ BuildRequires: python3-devel python3-setuptools %autosetup -n ntplib-%{version} -p1 %build -%py2_build %py3_build %install -%py2_install %py3_install -%files -n python2-ntplib -%{python2_sitelib}/ntplib.* -%{python2_sitelib}/ntplib-%{?version}-py?.?.egg-info - %files -n python3-ntplib %{python3_sitelib}/ntplib.py %{python3_sitelib}/ntplib-%{?version}-py?.?.egg-info @@ -60,6 +46,12 @@ BuildRequires: python3-devel python3-setuptools %doc CHANGELOG %changelog +* Thu Oct 29 2020 gaihuiying - 0.3.4-3 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:remove python2 + * Fri Sep 11 2020 hanzhijun - 0.3.4-2 - solve source url problem