From 45b0ea1d0b039add457db28a790b05d1be813f44d838a2ace6fc2b421a2eb23c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:20:24 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python3-openid?expand=0&rev=4 --- python-python3-openid.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-python3-openid.spec b/python-python3-openid.spec index 920c4af..be901fd 100644 --- a/python-python3-openid.spec +++ b/python-python3-openid.spec @@ -26,18 +26,17 @@ Release: 0 Summary: OpenID support for modern servers and consumers License: Apache-2.0 Group: Development/Languages/Python -Url: http://github.com/necaris/python3-openid +URL: http://github.com/necaris/python3-openid Source: https://files.pythonhosted.org/packages/source/p/python3-openid/python3-openid-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-defusedxml +BuildArch: noarch %if %{with test} BuildRequires: %{python_module defusedxml} BuildRequires: %{python_module nose} %endif -Requires: python-defusedxml -BuildArch: noarch - %python_subpackages %description @@ -63,8 +62,8 @@ Includes example code and support for a variety of storage back-ends. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE NEWS.md +%license LICENSE +%doc NEWS.md %{python_sitelib}/* %changelog