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 %global _empty_manifest_terminate_build 0
Name: python-python-editor Name: python-editor
Version: 1.0.4 Version: 1.0.4
Release: 1 Release: 2
Summary: Programmatically open an editor, capture the result. Summary: Programmatically open an editor, capture the result.
License: Apache 2.0 License: Apache 2.0
URL: https://github.com/fmoo/python-editor 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. 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. 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. Summary: Programmatically open an editor, capture the result.
Provides: python-python-editor
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools 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. 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. 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. 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 %package help
Summary: Development documents and examples for python-editor Summary: Development documents and examples for python-editor
Provides: python3-python-editor-doc Provides: python3-editor-doc
%description help %description help
Development documents and examples for python-editor. Development documents and examples for python-editor.
@ -65,12 +64,14 @@ popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%files -n python3-python-editor -f filelist.lst %files -n python3-editor -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%files help -f doclist.lst %files help -f doclist.lst
%{_pkgdocdir} %{_pkgdocdir}
%changelog %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> * Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated