From 7b63221efaaf128f37371c713206ecb924f03fd2 Mon Sep 17 00:00:00 2001 From: zhanghua Date: Thu, 29 Oct 2020 15:28:17 +0800 Subject: [PATCH] remove python2 of package python-traitlets --- python-traitlets.spec | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/python-traitlets.spec b/python-traitlets.spec index a21d689..da362a4 100644 --- a/python-traitlets.spec +++ b/python-traitlets.spec @@ -1,6 +1,6 @@ Name: python-traitlets Version: 4.3.2 -Release: 8 +Release: 9 Summary: A lightweight Traits like module. License: BSD @@ -13,17 +13,6 @@ A framework that lets Python classes have attributes with type checking, dynamic and ‘on change’ callbacks. -%package -n python2-traitlets -Summary: A lightweight Traits like module. -BuildRequires: python2-devel python2-pytest python2-nose python2-decorator -BuildRequires: python2-enum34 python2-ipython_genutils python2-six -Requires: python2-decorator python2-enum34 python2-ipython_genutils python2-six -%python_provide python2-traitlets - -%description -n python2-traitlets -A framework that lets Python classes have attributes with type checking, dynamically calculated default values, -and ‘on change’ callbacks. - %package -n python%{python3_pkgversion}-traitlets Summary: A lightweight Traits like module. BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-pytest python%{python3_pkgversion}-nose @@ -41,29 +30,25 @@ and ‘on change’ callbacks. %build -%py2_build %py3_build %install -%py2_install %py3_install %check -py.test-%{python2_version} -v traitlets/tests/ py.test-%{python3_version} -v traitlets/tests/ -%files -n python2-traitlets -%doc README.md COPYING.md -%{python2_sitelib}/* - %files -n python%{python3_pkgversion}-traitlets %doc README.md COPYING.md %{python3_sitelib}/* %changelog +* Wed Oct 21 2020 zhanghua - 4.3.2-9 +- remove python2 subpackage + * Thu Mar 5 2020 chenli - 4.3.2-8 - Init Package.