Hello community,
here is the log from the commit of package python-argon2-cffi for
openSUSE:Leap:15.2 checked in at 2020-03-31 07:22:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-argon2-cffi (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-argon2-cffi.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-argon2-cffi"
Tue Mar 31 07:22:37 2020 rev:6 rq:789057 version:19.2.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-argon2-cffi/python-argon2-cffi.changes
2020-02-21 23:48:40.316485432 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-argon2-cffi.new.3160/python-argon2-cffi.changes
2020-03-31 07:22:37.974404877 +0200
@@ -1,0 +2,5 @@
+Mon Mar 16 10:12:33 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-argon2-cffi.spec ++++++
--- /var/tmp/diff_new_pack.7htSk9/_old 2020-03-31 07:22:38.478405096 +0200
+++ /var/tmp/diff_new_pack.7htSk9/_new 2020-03-31 07:22:38.482405097 +0200
@@ -17,12 +17,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-argon2-cffi
Version: 19.2.0
Release: 0
Summary: The Argon2 password hashing algorithm for Python
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/hynek/argon2_cffi
Source:
https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2-cffi-%{version}.tar.gz
BuildRequires: %{python_module cffi >= 1.0.0}
@@ -34,12 +34,14 @@
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
-BuildRequires: python2-enum34
BuildRequires: pkgconfig(libargon2)
Requires: python-cffi >= 1.0.0
Requires: python-six
Provides: python-argon2_cffi
Obsoletes: python-argon2_cffi
+%if %{with python2}
+BuildRequires: python-enum34
+%endif
%ifpython2
Requires: python-enum34
%endif