diff --git a/python-freetype-py.spec b/python-freetype-py.spec index 0105bba..78bcb6f 100644 --- a/python-freetype-py.spec +++ b/python-freetype-py.spec @@ -24,17 +24,16 @@ Release: 0 Summary: Freetype python bindings License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/rougier/freetype-py +URL: https://github.com/rougier/freetype-py Source: https://files.pythonhosted.org/packages/source/f/freetype-py/freetype-py-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: freetype2 +BuildArch: noarch %if %{with test} BuildRequires: freetype2 %endif -Requires: freetype2 -BuildArch: noarch - %python_subpackages %description @@ -58,8 +57,8 @@ sed -i -e '/^#!\//, 1d' freetype/ft_structs.py freetype/ft_types.py %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.txt README.rst +%license LICENSE.txt +%doc README.rst %{python_sitelib}/* %changelog