diff --git a/python-spark_parser.spec b/python-spark_parser.spec index 54a5493..d094be3 100644 --- a/python-spark_parser.spec +++ b/python-spark_parser.spec @@ -24,18 +24,17 @@ Release: 0 Summary: An Earley-Algorithm Context-free grammar Parser Toolkit License: MIT Group: Development/Languages/Python -Url: https://github.com/rocky/python-spark/ +URL: https://github.com/rocky/python-spark/ Source: https://files.pythonhosted.org/packages/source/s/spark_parser/spark_parser-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-click +BuildArch: noarch %if %{with test} BuildRequires: %{python_module click} BuildRequires: %{python_module nose >= 1.0} %endif -Requires: python-click -BuildArch: noarch - %python_subpackages %description @@ -63,8 +62,8 @@ grammar. These are grammars which are left-recursive. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc ChangeLog LICENSE README.rst +%license LICENSE +%doc ChangeLog README.rst %python3_only %{_bindir}/spark-parser-coverage %{python_sitelib}/*