remove python2 of package python-traitlets
This commit is contained in:
parent
0629e50143
commit
7b63221efa
@ -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 <zhanghua40@huawei.com> - 4.3.2-9
|
||||
- remove python2 subpackage
|
||||
|
||||
* Thu Mar 5 2020 chenli <chenli147@huawei.com> - 4.3.2-8
|
||||
- Init Package.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user