From a7ea0403cd43dc92065e67ade295cfed08318476 Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Tue, 23 Feb 2021 10:13:29 +0000 Subject: [PATCH] Rename python3-python-editor to python3-editor --- python-python-editor.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/python-python-editor.spec b/python-python-editor.spec index 3ef012b..3ba806c 100644 --- a/python-python-editor.spec +++ b/python-python-editor.spec @@ -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 +- Rename the package to python3-editor * Thu Dec 17 2020 Python_Bot - Package Spec generated