!2 remove python2 subpackage
From: @lei_ju Reviewed-by: @myeuler Signed-off-by: @myeuler
This commit is contained in:
commit
9283a5cbd0
@ -1,6 +1,6 @@
|
|||||||
Name: python-ipython_genutils
|
Name: python-ipython_genutils
|
||||||
Version: 0.1.0
|
Version: 0.1.0
|
||||||
Release: 15
|
Release: 16
|
||||||
Summary: IPython vestigial utilities
|
Summary: IPython vestigial utilities
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/ipython/ipython_genutils
|
URL: https://github.com/ipython/ipython_genutils
|
||||||
@ -10,16 +10,6 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
The package provides IPython vestigial utilities.
|
The package provides IPython vestigial utilities.
|
||||||
|
|
||||||
|
|
||||||
%package -n python2-ipython_genutils
|
|
||||||
Summary: IPython vestigial utilities
|
|
||||||
BuildRequires: python2-devel python2-nose
|
|
||||||
%{?python_provide:%python_provide python2-ipython_genutils}
|
|
||||||
|
|
||||||
%description -n python2-ipython_genutils
|
|
||||||
The package provides IPython vestigial utilities.
|
|
||||||
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-ipython_genutils
|
%package -n python%{python3_pkgversion}-ipython_genutils
|
||||||
Summary: IPython vestigial utilities
|
Summary: IPython vestigial utilities
|
||||||
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-nose
|
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-nose
|
||||||
@ -28,38 +18,27 @@ BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-no
|
|||||||
%description -n python%{python3_pkgversion}-ipython_genutils
|
%description -n python%{python3_pkgversion}-ipython_genutils
|
||||||
The package provides IPython vestigial utilities.
|
The package provides IPython vestigial utilities.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n ipython_genutils-%{version}
|
%autosetup -n ipython_genutils-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
nosetests-%{python2_version} -v
|
|
||||||
nosetests-%{python3_version} -v
|
nosetests-%{python3_version} -v
|
||||||
|
|
||||||
|
|
||||||
%files -n python2-ipython_genutils
|
|
||||||
%doc README.md
|
|
||||||
%license COPYING.md
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-ipython_genutils
|
%files -n python%{python3_pkgversion}-ipython_genutils
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license COPYING.md
|
%license COPYING.md
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 0.1.0-16
|
||||||
|
- remove python2 subpackage
|
||||||
|
|
||||||
* Thu Mar 5 2020 zhujunhao <zhujunhao5@huawei.com> - 0.1.0-15
|
* Thu Mar 5 2020 zhujunhao <zhujunhao5@huawei.com> - 0.1.0-15
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user