forked from pool/python-wptools
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wptools?expand=0&rev=20
This commit is contained in:
@@ -24,7 +24,7 @@ Release: 0
|
||||
Summary: Wikipedia tools (for Humans)
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/siznax/wptools/
|
||||
URL: https://github.com/siznax/wptools/
|
||||
Source: https://files.pythonhosted.org/packages/source/w/wptools/%{pyname}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM python-wptools-avoid-reading-readme.patch badshah400@gmail.com -- README.rst contains numerous spurious characters that are not readable in ascii. Skip reading this file in setup.py and manually insert a long description text instead
|
||||
Patch0: python-wptools-avoid-reading-readme.patch
|
||||
@@ -62,7 +62,8 @@ sed -E -i "1{/^#!\/usr\/bin.*python/d}" scripts/wptool.py
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc HISTORY.rst LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc HISTORY.rst README.rst
|
||||
%python3_only %{_bindir}/wptool
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user