diff --git a/python-hkdf.changes b/python-hkdf.changes index 3517cd0..a6e65ab 100644 --- a/python-hkdf.changes +++ b/python-hkdf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 15:55:53 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Dec 4 12:48:54 UTC 2018 - Matej Cepl diff --git a/python-hkdf.spec b/python-hkdf.spec index 4e8fb0e..fcfbf7c 100644 --- a/python-hkdf.spec +++ b/python-hkdf.spec @@ -1,7 +1,7 @@ # # spec file for package python-hkdf # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hkdf Version: 0.0.3 Release: 0 Summary: HMAC-based Extract-and-Expand Key Derivation Function (HKDF) License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/casebeer/python-hkdf +URL: https://github.com/casebeer/python-hkdf Source: https://files.pythonhosted.org/packages/source/h/hkdf/hkdf-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -39,13 +39,14 @@ This module implements the HMAC Key Derivation function. %setup -q -n hkdf-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%{python_sitelib}/* +%{python_sitelib}/hkdf +%{python_sitelib}/hkdf-%{version}*-info %changelog