diff --git a/python-whichcraft.spec b/python-whichcraft.spec index 7d4d8b8..9c6bb34 100644 --- a/python-whichcraft.spec +++ b/python-whichcraft.spec @@ -24,16 +24,15 @@ Release: 0 Summary: Cross-python shutil.which functionality License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/pydanny/whichcraft +URL: https://github.com/pydanny/whichcraft Source: https://files.pythonhosted.org/packages/source/w/whichcraft/whichcraft-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch %if %{with test} BuildRequires: %{python_module pytest} %endif -BuildArch: noarch - %python_subpackages %description @@ -58,8 +57,8 @@ Python 3 code that was extracted from source. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.rst HISTORY.rst LICENSE README.rst +%license LICENSE +%doc AUTHORS.rst HISTORY.rst README.rst %{python_sitelib}/* %changelog