From 1b339c862045d08911c5b79fd841022ac4544bfb4ea5c171bb5cf75d17c9c34f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:13:33 +0000 Subject: [PATCH] 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