17
0

2 Commits

2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 13 13:49:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 9 06:24:31 UTC 2023 - ecsos <ecsos@opensuse.org> Fri Jun 9 06:24:31 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-argon2-cffi-bindings # spec file for package python-argon2-cffi-bindings
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -31,13 +31,14 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 45} BuildRequires: %{python_module setuptools >= 45}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libargon2) BuildRequires: pkgconfig(libargon2)
Requires: python-cffi >= 1.0.1 Requires: python-cffi >= 1.0.1
Provides: python-argon2_cffi_bindings Provides: python-argon2_cffi_bindings = %{version}
Obsoletes: python-argon2_cffi_bindings Obsoletes: python-argon2_cffi_bindings < %{version}
%python_subpackages %python_subpackages
%description %description
@@ -49,10 +50,10 @@ to the Argon2 password hashing algorithm.
%build %build
export ARGON2_CFFI_USE_SYSTEM=1 export ARGON2_CFFI_USE_SYSTEM=1
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check