From 805f538b859b8808bccfc623dce506ba01b35a171f0842f8ae0b6288fe2493d7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:20:06 +0000 Subject: [PATCH] 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