remove python2
This commit is contained in:
parent
a35a666f37
commit
dea1d9a20e
@ -1,12 +1,12 @@
|
||||
Name: python-constantly
|
||||
Version: 15.1.0
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: Symbolic constants in Python
|
||||
License: MIT
|
||||
URL: https://github.com/twisted/constantly
|
||||
Source0: https://files.pythonhosted.org/packages/source/c/constantly/constantly-15.1.0.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel python2dist(setuptools) python3-devel python3dist(setuptools)
|
||||
BuildRequires: python3-devel python3dist(setuptools)
|
||||
|
||||
%{?python_enable_dependency_generator}
|
||||
|
||||
@ -15,15 +15,6 @@ A library that provides symbolic constant support. It includes
|
||||
collections and constants with text, numeric, and bit flag values.
|
||||
Originally twisted.python.constants from the Twisted project.
|
||||
|
||||
%package -n python2-constantly
|
||||
Summary: Symbolic constants in Python
|
||||
%{?python_provide:%python_provide python2-constantly}
|
||||
|
||||
%description -n python2-constantly
|
||||
A library that provides symbolic constant support. It includes
|
||||
collections and constants with text, numeric, and bit flag values.
|
||||
Originally twisted.python.constants from the Twisted project.
|
||||
|
||||
%package -n python3-constantly
|
||||
Summary: Symbolic constants in Python
|
||||
%{?python_provide:%python_provide python3-constantly}
|
||||
@ -38,23 +29,19 @@ Originally twisted.python.constants from the Twisted project.
|
||||
rm -rf constantly.egg-info
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%files -n python2-constantly
|
||||
%doc README.rst LICENSE
|
||||
%{python2_sitelib}/constantly
|
||||
%{python2_sitelib}/constantly-15.1.0-py?.?.egg-info
|
||||
|
||||
%files -n python3-constantly
|
||||
%doc README.rst LICENSE
|
||||
%{python3_sitelib}/constantly
|
||||
%{python3_sitelib}/constantly-15.1.0-py?.?.egg-info
|
||||
|
||||
%changelog
|
||||
* Wed Oct 21 2020 zhangtao <zhangao221@huawei.com> - 15.1.0-5
|
||||
- delete python2
|
||||
|
||||
* Fri Feb 21 2020 liangdong <liangdong10@huawei.com> - 15.1.0-4
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user