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