From 48984b2fd90313a67b1bd046f04fcf5555c476e2ca45efb53d68e0fe950b6ea7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:55:30 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-editor?expand=0&rev=12 --- python-python-editor.changes | 5 +++++ python-python-editor.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-python-editor.changes b/python-python-editor.changes index ea38b3e..52dcc50 100644 --- a/python-python-editor.changes +++ b/python-python-editor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:53:01 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Aug 22 12:49:38 UTC 2017 - tbechtold@suse.com diff --git a/python-python-editor.spec b/python-python-editor.spec index dc633b5..c77539f 100644 --- a/python-python-editor.spec +++ b/python-python-editor.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-editor # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,6 @@ License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/fmoo/python-editor Source: https://files.pythonhosted.org/packages/source/p/python-editor/python-editor-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros %if 0%{?is_opensuse} From 805f538b859b8808bccfc623dce506ba01b35a171f0842f8ae0b6288fe2493d7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:20:06 +0000 Subject: [PATCH 2/3] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-editor?expand=0&rev=13 --- python-python-editor.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/python-python-editor.spec b/python-python-editor.spec index c77539f..56b0c05 100644 --- a/python-python-editor.spec +++ b/python-python-editor.spec @@ -23,16 +23,14 @@ Release: 0 Summary: Programmatically open an editor, capture the result License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/fmoo/python-editor +URL: https://github.com/fmoo/python-editor Source: https://files.pythonhosted.org/packages/source/p/python-editor/python-editor-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +BuildArch: noarch %if 0%{?is_opensuse} BuildRequires: nano %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description @@ -56,8 +54,8 @@ programmatically interfacing with your system’s EDITOR. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.md +%license LICENSE +%doc README.md %{python_sitelib}/* %changelog From 69e4d7111ebbf1532425e53959a37953791bbcf3260f27ea94800d611f118d3f Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 19 Dec 2018 03:58:59 +0000 Subject: [PATCH 3/3] Accepting request 659788 from home:jengelh:branches:devel:languages:python - Use noun phrase in summary. Clairfy what the "system's EDITOR" is. OBS-URL: https://build.opensuse.org/request/show/659788 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-editor?expand=0&rev=14 --- python-python-editor.changes | 6 ++++++ python-python-editor.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-python-editor.changes b/python-python-editor.changes index 52dcc50..68af271 100644 --- a/python-python-editor.changes +++ b/python-python-editor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 18 23:49:45 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. Clairfy what the + "system's EDITOR" is. + ------------------------------------------------------------------- Tue Dec 4 12:53:01 UTC 2018 - Matej Cepl diff --git a/python-python-editor.spec b/python-python-editor.spec index 56b0c05..0b54524 100644 --- a/python-python-editor.spec +++ b/python-python-editor.spec @@ -20,7 +20,7 @@ Name: python-python-editor Version: 1.0.3 Release: 0 -Summary: Programmatically open an editor, capture the result +Summary: Python library to programmatically open an editor and capture the result License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/fmoo/python-editor @@ -35,7 +35,8 @@ BuildRequires: nano %description python-editor is a library that provides the editor module for -programmatically interfacing with your system’s EDITOR. +programmatically interfacing with the editor defined in the EDITOR +environment variable. %prep %setup -q -n python-editor-%{version}