14
0

Accepting request 654067 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wptools?expand=0&rev=10
This commit is contained in:
2018-12-13 18:45:02 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:56:07 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Mon Oct 22 14:09:27 UTC 2018 - badshah400@gmail.com

View File

@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,11 +24,10 @@ 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
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -63,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}/*