From 87f236eb51f0e908b3e4ce621d52c6f7316e31f81df1529dc95141f1f9217732 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:05:09 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spake2?expand=0&rev=3 --- python-spake2.changes | 5 +++++ python-spake2.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-spake2.changes b/python-spake2.changes index d0ff6a4..3d44700 100644 --- a/python-spake2.changes +++ b/python-spake2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:54:31 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri Mar 2 22:01:11 UTC 2018 - avvissu@yandex.by diff --git a/python-spake2.spec b/python-spake2.spec index 837ed6d..a5fb367 100644 --- a/python-spake2.spec +++ b/python-spake2.spec @@ -12,22 +12,22 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-spake2 Version: 0.8 Release: 0 -License: MIT Summary: Pure-Python SPAKE2 -Url: http://github.com/warner/python-spake2 +License: MIT Group: Development/Languages/Python +Url: http://github.com/warner/python-spake2 Source: https://files.pythonhosted.org/packages/source/s/spake2/spake2-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages From 8ae2e6b95a829a122ac08e61be9d1e5ddda0a13938222cfb826543fa91aeac37 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:23:01 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spake2?expand=0&rev=4 --- python-spake2.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python-spake2.spec b/python-spake2.spec index a5fb367..277320f 100644 --- a/python-spake2.spec +++ b/python-spake2.spec @@ -23,13 +23,12 @@ Release: 0 Summary: Pure-Python SPAKE2 License: MIT Group: Development/Languages/Python -Url: http://github.com/warner/python-spake2 +URL: http://github.com/warner/python-spake2 Source: https://files.pythonhosted.org/packages/source/s/spake2/spake2-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -46,7 +45,7 @@ SPAKE2 password-authenticated key exchange. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%doc LICENSE +%license LICENSE %{python_sitelib}/* %changelog