remove python2
This commit is contained in:
parent
cf065292a7
commit
52599ce5f1
@ -1,25 +1,16 @@
|
|||||||
Name: python-lazy-object-proxy
|
Name: python-lazy-object-proxy
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: A fast and thorough lazy object proxy
|
Summary: A fast and thorough lazy object proxy
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://github.com/ionelmc/python-lazy-object-proxy
|
Url: https://github.com/ionelmc/python-lazy-object-proxy
|
||||||
Source0: %{url}/archive/v%{version}/lazy-object-proxy-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/lazy-object-proxy-%{version}.tar.gz
|
||||||
BuildRequires: python2-setuptools python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools
|
||||||
BuildRequires: python2-devel python%{python3_pkgversion}-setuptools
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A fast and thorough lazy object proxy that rebuilds a new
|
A fast and thorough lazy object proxy that rebuilds a new
|
||||||
abstract syntax tree from Python's ast.
|
abstract syntax tree from Python's ast.
|
||||||
|
|
||||||
%package -n python2-lazy-object-proxy
|
|
||||||
Summary: A fast and thorough lazy object proxy
|
|
||||||
%{?python_provide:%python_provide python2-lazy-object-proxy}
|
|
||||||
|
|
||||||
%description -n python2-lazy-object-proxy
|
|
||||||
A fast and thorough lazy object proxy that rebuilds a new
|
|
||||||
abstract syntax tree from Python's ast.
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-lazy-object-proxy
|
%package -n python%{python3_pkgversion}-lazy-object-proxy
|
||||||
Summary: A fast and thorough lazy object proxy
|
Summary: A fast and thorough lazy object proxy
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-lazy-object-proxy}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-lazy-object-proxy}
|
||||||
@ -32,23 +23,14 @@ abstract syntax tree from Python's ast.
|
|||||||
%autosetup -n python-lazy-object-proxy-%{version} -p1
|
%autosetup -n python-lazy-object-proxy-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python2-lazy-object-proxy
|
|
||||||
%doc README.rst LICENSE
|
|
||||||
%{python2_sitearch}/*
|
|
||||||
%attr(0755, root, root) %{python2_sitearch}/lazy_object_proxy/*.so
|
|
||||||
%exclude %{python2_sitearch}/lazy_object_proxy/cext.c
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-lazy-object-proxy
|
%files -n python%{python3_pkgversion}-lazy-object-proxy
|
||||||
%doc README.rst LICENSE
|
%doc README.rst LICENSE
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
@ -56,5 +38,8 @@ abstract syntax tree from Python's ast.
|
|||||||
%exclude %{python3_sitearch}/lazy_object_proxy/cext.c
|
%exclude %{python3_sitearch}/lazy_object_proxy/cext.c
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 21 2020 Ge Wang <wangge20@huawei.com> - 1.3.1-9
|
||||||
|
- remove python2
|
||||||
|
|
||||||
* Mon Feb 24 2020 likexin <likexin4@huawei.com> - 1.3.1-8
|
* Mon Feb 24 2020 likexin <likexin4@huawei.com> - 1.3.1-8
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user