From bb1034fbf853679e94ac66b8e8dc5910d0e455a6fc7b676ddb6d327e50b66b9b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:27:34 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-docstrings?expand=0&rev=6 --- python-flake8-docstrings.changes | 5 +++++ python-flake8-docstrings.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-flake8-docstrings.changes b/python-flake8-docstrings.changes index bfa38b5..fe671fa 100644 --- a/python-flake8-docstrings.changes +++ b/python-flake8-docstrings.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:48:03 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri May 18 17:15:17 UTC 2018 - jengelh@inai.de diff --git a/python-flake8-docstrings.spec b/python-flake8-docstrings.spec index d320862..0c5bf12 100644 --- a/python-flake8-docstrings.spec +++ b/python-flake8-docstrings.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/ # @@ -25,7 +25,6 @@ License: MIT Group: Development/Languages/Python Url: https://gitlab.com/pycqa/flake8-docstrings Source: https://files.pythonhosted.org/packages/source/f/flake8-docstrings/flake8-docstrings-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From 1b339c862045d08911c5b79fd841022ac4544bfb4ea5c171bb5cf75d17c9c34f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:13:33 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-docstrings?expand=0&rev=7 --- python-flake8-docstrings.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python-flake8-docstrings.spec b/python-flake8-docstrings.spec index 0c5bf12..09604c8 100644 --- a/python-flake8-docstrings.spec +++ b/python-flake8-docstrings.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Extension for flake8 which uses pydocstyle to check docstrings License: MIT Group: Development/Languages/Python -Url: https://gitlab.com/pycqa/flake8-docstrings +URL: https://gitlab.com/pycqa/flake8-docstrings Source: https://files.pythonhosted.org/packages/source/f/flake8-docstrings/flake8-docstrings-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -32,7 +32,6 @@ Requires: python-flake8 Requires: python-flake8-polyfill Requires: python-pydocstyle >= 2.1.0 BuildArch: noarch - %python_subpackages %description @@ -49,9 +48,8 @@ A module that adds an extension for the pydocstyle tool to flake8. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) %doc README.rst -%doc LICENSE +%license LICENSE %{python_sitelib}/* %changelog