17
0

5 Commits

2 changed files with 17 additions and 7 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
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>
- Add %{?sle15_python_module_pythons}
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 20 07:32:50 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com> Thu Oct 20 07:32:50 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-argon2-cffi-bindings # spec file for package python-argon2-cffi-bindings
# #
# Copyright (c) 2022 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
@@ -16,8 +16,7 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
%define skip_python2 1
Name: python-argon2-cffi-bindings Name: python-argon2-cffi-bindings
Version: 21.2.0 Version: 21.2.0
Release: 0 Release: 0
@@ -32,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
@@ -50,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