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
|
Summary: Character encoding aliases for legacy web content
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/SimonSapin/python-webencodings
|
URL: https://github.com/SimonSapin/python-webencodings
|
||||||
Source: https://pypi.io/packages/source/w/webencodings/webencodings-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/w/webencodings/webencodings-%{version}.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/gsnedders/python-webencodings/v%{version}/LICENSE
|
Source1: https://raw.githubusercontent.com/gsnedders/python-webencodings/v%{version}/LICENSE
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -60,8 +59,8 @@ cp %{SOURCE1} ./
|
|||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc README.rst LICENSE
|
%doc README.rst
|
||||||
%{python_sitelib}/webencodings/
|
%{python_sitelib}/webencodings/
|
||||||
%{python_sitelib}/webencodings-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/webencodings-%{version}-py%{py_ver}.egg-info
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user