From 33eeb0e835efaa56d2216454983bedbbad585e93da1522a3daf7a6d5aa1b0b6a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:25:32 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webencodings?expand=0&rev=6 --- python-webencodings.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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