Accepting request 795826 from devel:languages:python
- Fix build without python2 OBS-URL: https://build.opensuse.org/request/show/795826 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=8
This commit is contained in:
commit
e54cd8d525
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 20 12:42:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 8 23:05:47 UTC 2019 - Karol Babioch <kbabioch@suse.de>
|
Sun Dec 8 23:05:47 UTC 2019 - Karol Babioch <kbabioch@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fido2
|
# 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
|
# 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
|
||||||
@ -17,13 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-fido2
|
Name: python-fido2
|
||||||
Version: 0.8.1
|
Version: 0.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python-based FIDO 2.0 library
|
Summary: Python-based FIDO 2.0 library
|
||||||
License: BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND MPL-2.0
|
License: BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND MPL-2.0
|
||||||
Group: Development/Languages/Python
|
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
|
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
|
Source1: https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz.sig
|
||||||
BuildRequires: %{python_module cryptography >= 1.5}
|
BuildRequires: %{python_module cryptography >= 1.5}
|
||||||
@ -33,10 +34,12 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python2-enum34
|
|
||||||
Requires: python-cryptography >= 1.5
|
Requires: python-cryptography >= 1.5
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python2-enum34
|
||||||
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python2-enum34
|
Requires: python2-enum34
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user