diff --git a/python-webencodings.spec b/python-webencodings.spec index cd4317c..986bd26 100644 --- a/python-webencodings.spec +++ b/python-webencodings.spec @@ -23,13 +23,12 @@ Release: 0 Summary: Character encoding aliases for legacy web content License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/SimonSapin/python-webencodings -Source: https://pypi.io/packages/source/w/webencodings/webencodings-%{version}.tar.gz +URL: https://github.com/SimonSapin/python-webencodings +Source: https://files.pythonhosted.org/packages/source/w/webencodings/webencodings-%{version}.tar.gz Source1: https://raw.githubusercontent.com/gsnedders/python-webencodings/v%{version}/LICENSE BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -60,8 +59,8 @@ cp %{SOURCE1} ./ %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst LICENSE +%license LICENSE +%doc README.rst %{python_sitelib}/webencodings/ %{python_sitelib}/webencodings-%{version}-py%{py_ver}.egg-info