Rename python3-python-editor to python3-editor

This commit is contained in:
huangtianhua 2021-02-23 10:13:29 +00:00
parent f0dac8ef94
commit a7ea0403cd

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-python-editor
Name: python-editor
Version: 1.0.4
Release: 1
Release: 2
Summary: Programmatically open an editor, capture the result.
License: Apache 2.0
URL: https://github.com/fmoo/python-editor
@ -13,20 +13,19 @@ Python-editor is a library that provides the editor module for programmatically
Editor first looks for the ${EDITOR} environment variable. If set, it uses the value as-is, without fallbacks.
If no $EDITOR is set, editor will search through a list of known editors, and use the first one that exists on the system.
%package -n python3-python-editor
%package -n python3-editor
Summary: Programmatically open an editor, capture the result.
Provides: python-python-editor
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-python-editor
%description -n python3-editor
Python-editor is a library that provides the editor module for programmatically interfacing with your system's $EDITOR.
Editor first looks for the ${EDITOR} environment variable. If set, it uses the value as-is, without fallbacks.
If no $EDITOR is set, editor will search through a list of known editors, and use the first one that exists on the system.
%package help
Summary: Development documents and examples for python-editor
Provides: python3-python-editor-doc
Provides: python3-editor-doc
%description help
Development documents and examples for python-editor.
@ -65,12 +64,14 @@ popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-python-editor -f filelist.lst
%files -n python3-editor -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_pkgdocdir}
%changelog
* Tue Feb 23 2021 huangtianhua <huangtianhua223@gmail.org>
- Rename the package to python3-editor
* Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated