diff --git a/python-spake2.changes b/python-spake2.changes index 3d44700..95b3167 100644 --- a/python-spake2.changes +++ b/python-spake2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 19 11:12:39 UTC 2023 - Ondřej Súkup + +- Fix missing dep on hkdf +- enable tests + ------------------------------------------------------------------- Tue Dec 4 12:54:31 UTC 2018 - Matej Cepl diff --git a/python-spake2.spec b/python-spake2.spec index 277320f..424e9e5 100644 --- a/python-spake2.spec +++ b/python-spake2.spec @@ -1,7 +1,7 @@ # # spec file for package python-spake2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-spake2 Version: 0.8 Release: 0 @@ -25,9 +24,12 @@ 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_module hkdf} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-hkdf BuildArch: noarch %python_subpackages @@ -44,8 +46,12 @@ SPAKE2 password-authenticated key exchange. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/spake2 +%{python_sitelib}/spake2-%{version}*-info %changelog