Hello community,

here is the log from the commit of package python-fido2 for openSUSE:Factory 
checked in at 2020-04-21 13:11:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fido2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-fido2.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fido2"

Tue Apr 21 13:11:05 2020 rev:8 rq:795826 version:0.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fido2/python-fido2.changes        
2019-12-09 21:35:24.978093594 +0100
+++ /work/SRC/openSUSE:Factory/.python-fido2.new.2738/python-fido2.changes      
2020-04-21 13:11:06.492865049 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 12:42:34 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-fido2.spec ++++++
--- /var/tmp/diff_new_pack.UggP53/_old  2020-04-21 13:11:07.680867419 +0200
+++ /var/tmp/diff_new_pack.UggP53/_new  2020-04-21 13:11:07.684867427 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fido2
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,14 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-fido2
 Version:        0.8.1
 Release:        0
 Summary:        Python-based FIDO 2.0 library
 License:        BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND MPL-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/Yubico/python-fido2
+URL:            https://github.com/Yubico/python-fido2
 Source0:        
https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz
 Source1:        
https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz.sig
 BuildRequires:  %{python_module cryptography >= 1.5}
@@ -33,10 +34,12 @@
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-enum34
 Requires:       python-cryptography >= 1.5
 Requires:       python-six
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python2-enum34
+%endif
 %ifpython2
 Requires:       python2-enum34
 %endif



Reply via email to