forked from pool/python-webencodings
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webencodings?expand=0&rev=6
This commit is contained in:
parent
62e3ccb267
commit
33eeb0e835
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user