1
0
Matej Cepl 2018-12-04 17:25:32 +00:00 committed by Git OBS Bridge
parent 62e3ccb267
commit 33eeb0e835

View File

@ -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