remove python2 package, if not, now cannot build successfully
This commit is contained in:
parent
16a0ed8ae1
commit
5ad492b71e
@ -1,6 +1,6 @@
|
|||||||
Name: python-wcwidth
|
Name: python-wcwidth
|
||||||
Version: 0.1.7
|
Version: 0.1.7
|
||||||
Release: 9
|
Release: 10
|
||||||
Summary: A Python library that measures the width of unicode strings rendered to a terminal
|
Summary: A Python library that measures the width of unicode strings rendered to a terminal
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jquast/wcwidth
|
URL: https://github.com/jquast/wcwidth
|
||||||
@ -15,20 +15,6 @@ and wcswidth(3) C functions of which this python module's functions
|
|||||||
precisely copy. These functions return the number of cells a unicode
|
precisely copy. These functions return the number of cells a unicode
|
||||||
string is expected to occupy.
|
string is expected to occupy.
|
||||||
|
|
||||||
%package -n python2-wcwidth
|
|
||||||
Summary: A Python library that measures the width of unicode strings rendered to a terminal
|
|
||||||
|
|
||||||
BuildRequires: python2-devel python2-setuptools
|
|
||||||
|
|
||||||
%{?python_provide:%python_provide python2-wcwidth}
|
|
||||||
|
|
||||||
%description -n python2-wcwidth
|
|
||||||
This library is mainly for those implementing a Terminal Emulator, or
|
|
||||||
programs that carefully produce output to be interpreted by one.
|
|
||||||
POSIX.1-2001 and POSIX.1-2008 conforming systems provide wcwidth(3)
|
|
||||||
and wcswidth(3) C functions of which this python module's functions
|
|
||||||
precisely copy. These functions return the number of cells a unicode
|
|
||||||
string is expected to occupy.
|
|
||||||
|
|
||||||
%package -n python3-wcwidth
|
%package -n python3-wcwidth
|
||||||
Summary: A Python library that measures the width of unicode strings rendered to a terminal
|
Summary: A Python library that measures the width of unicode strings rendered to a terminal
|
||||||
@ -49,17 +35,11 @@ string is expected to occupy.
|
|||||||
%autosetup -n wcwidth-%{version} -p1
|
%autosetup -n wcwidth-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-wcwidth
|
|
||||||
%doc README.rst LICENSE.txt
|
|
||||||
%{python2_sitelib}/wcwidth
|
|
||||||
%{python2_sitelib}/wcwidth-%{version}-py?.?.egg-info
|
|
||||||
|
|
||||||
%files -n python3-wcwidth
|
%files -n python3-wcwidth
|
||||||
%doc README.rst LICENSE.txt
|
%doc README.rst LICENSE.txt
|
||||||
@ -67,5 +47,8 @@ string is expected to occupy.
|
|||||||
%{python3_sitelib}/wcwidth-%{version}-py?.?.egg-info
|
%{python3_sitelib}/wcwidth-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 29 2021 Zhaorenhai <zhaorenhai@hotmail.com> - 0.1.7-10
|
||||||
|
- Remove python 2 package
|
||||||
|
|
||||||
* Fri Mar 06 2020 Jiangping Hu <hujp1985@foxmail.com> - 0.1.7-9
|
* Fri Mar 06 2020 Jiangping Hu <hujp1985@foxmail.com> - 0.1.7-9
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user