From d9bab0cb464be41a55088f3bb456d16ec713edf7a6601f5672d0a112cfaa62f7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:21:56 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rply?expand=0&rev=6 --- python-rply.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/python-rply.spec b/python-rply.spec index cdb6a5d..7f40fc1 100644 --- a/python-rply.spec +++ b/python-rply.spec @@ -24,17 +24,16 @@ Release: 0 Summary: A pure Python Lex/Yacc that works with RPython License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/alex/rply +URL: https://github.com/alex/rply Source: https://files.pythonhosted.org/packages/source/r/rply/rply-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-appdirs +BuildArch: noarch %if %{with test} BuildRequires: %{python_module appdirs} %endif -BuildRequires: fdupes -Requires: python-appdirs -BuildArch: noarch - %python_subpackages %description @@ -53,8 +52,8 @@ public API, and with RPython support. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog