From f3661c9f9d1dd3f4528d20f3090b9c3eb4fd52d7af20994580d179e600bbebd7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:16:36 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mando?expand=0&rev=6 --- python-mando.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/python-mando.spec b/python-mando.spec index faaaa33..a864bba 100644 --- a/python-mando.spec +++ b/python-mando.spec @@ -24,19 +24,18 @@ Release: 0 Summary: Create Python CLI apps with little to no effort at all! License: MIT Group: Development/Languages/Python -Url: https://mando.readthedocs.org/ +URL: https://mando.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/m/mando/mando-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-six +Suggests: python-rst2ansi +BuildArch: noarch %if %{with test} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} %endif -Requires: python-six -Suggests: python-rst2ansi -BuildArch: noarch - %python_subpackages %description @@ -60,8 +59,8 @@ sed -i -e '/^#!\//, 1d' mando/tests/*.py %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog