!4 remove python2
From: @jlwwlsqc Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
ca98d6d27f
@ -1,27 +1,20 @@
|
|||||||
Name: python-repoze-lru
|
Name: python-repoze-lru
|
||||||
Version: 0.7
|
Version: 0.7
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: A tiny LRU cache implementation and decorator
|
Summary: A tiny LRU cache implementation and decorator
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://pypi.python.org/pypi/repoze.lru
|
URL: http://pypi.python.org/pypi/repoze.lru
|
||||||
Source0: %pypi_source repoze.lru
|
Source0: %pypi_source repoze.lru
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-setuptools python3-setuptools
|
BuildRequires: python3-setuptools python3-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
It is a LRU (least recently used) cache implementation. It works under
|
It is a LRU (least recently used) cache implementation. It works under
|
||||||
Python 2.7 and Python 3.4+.
|
Python 2.7 and Python 3.4+.
|
||||||
|
|
||||||
%package -n python2-repoze-lru
|
|
||||||
Summary: A tiny LRU cache implementation and decorator
|
|
||||||
%{?python_provide:%python_provide python2-repoze-lru}
|
|
||||||
|
|
||||||
%description -n python2-repoze-lru
|
|
||||||
It is a LRU (least recently used) cache implementation. It works under
|
|
||||||
Python 2.7.
|
|
||||||
|
|
||||||
%package -n python3-repoze-lru
|
%package -n python3-repoze-lru
|
||||||
Summary: A tiny LRU cache implementation and decorator
|
Summary: A tiny LRU cache implementation and decorator
|
||||||
|
%{?python_provide:%python_provide python3-repoze-lru}
|
||||||
|
|
||||||
%description -n python3-repoze-lru
|
%description -n python3-repoze-lru
|
||||||
It is a LRU (least recently used) cache implementation. It works under
|
It is a LRU (least recently used) cache implementation. It works under
|
||||||
@ -30,23 +23,22 @@ Python 3.4+.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n repoze.lru-%{version}
|
%autosetup -n repoze.lru-%{version}
|
||||||
%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-repoze-lru
|
|
||||||
%doc README.rst LICENSE.txt COPYRIGHT.txt CONTRIBUTORS.txt
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-repoze-lru
|
%files -n python3-repoze-lru
|
||||||
%doc README.rst LICENSE.txt COPYRIGHT.txt CONTRIBUTORS.txt
|
%doc README.rst LICENSE.txt COPYRIGHT.txt CONTRIBUTORS.txt
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 2 2020 wangjie<wangjie294@huawei.com> -0.7-3
|
||||||
|
- Type:NA
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove python2
|
||||||
|
|
||||||
* Mon Jan 6 2020 Ling Yang <lingyang2@huawei.com> - 0.7-2
|
* Mon Jan 6 2020 Ling Yang <lingyang2@huawei.com> - 0.7-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user