From c3b59749863ed6b3a05ad6e6deb9c6eebdbaa1638b5ebf62ab4d41f9716e1ee1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:14:37 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wptools?expand=0&rev=19 --- python-wptools.changes | 5 +++++ python-wptools.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-wptools.changes b/python-wptools.changes index 6d8f72b..bb28c87 100644 --- a/python-wptools.changes +++ b/python-wptools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:56:07 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Oct 22 14:09:27 UTC 2018 - badshah400@gmail.com diff --git a/python-wptools.spec b/python-wptools.spec index 540329c..c5e7258 100644 --- a/python-wptools.spec +++ b/python-wptools.spec @@ -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/ # @@ -28,7 +28,6 @@ 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 From b90d2c75a3b8301c690bc988c00da82d31940aaabcdd3a4387e2a21aa2e551c8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:26:02 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wptools?expand=0&rev=20 --- python-wptools.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-wptools.spec b/python-wptools.spec index c5e7258..3d1149e 100644 --- a/python-wptools.spec +++ b/python-wptools.spec @@ -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}/*