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