forked from pool/python-pyspnego
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| f9275da63a | |||
| ecf2d9a7a3 | |||
| 8ff44da9c4 | |||
| ad422dc163 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 25 11:40:09 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 11 20:27:41 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
Mon Nov 11 20:27:41 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyspnego
|
# spec file for package python-pyspnego
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# Copyright (c) 2024 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,11 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyspnego
|
Name: python-pyspnego
|
||||||
Version: 0.11.2
|
Version: 0.11.2
|
||||||
@@ -33,28 +28,23 @@ Source: https://github.com/jborean93/pyspnego/archive/v%{version}.tar.gz
|
|||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cryptography
|
|
||||||
Suggests: python-gssapi >= 1.5.0
|
|
||||||
Suggests: python-ruamel.yaml
|
|
||||||
BuildArch: noarch
|
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module cryptography}
|
|
||||||
BuildRequires: %{python_module dataclasses if %python-base < 3.7}
|
BuildRequires: %{python_module dataclasses if %python-base < 3.7}
|
||||||
|
BuildRequires: %{python_module cryptography}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
|
BuildRequires: fdupes
|
||||||
|
Requires: python-cryptography
|
||||||
%if 0%{python_version_nodots} < 37
|
%if 0%{python_version_nodots} < 37
|
||||||
Requires: python-dataclasses
|
Requires: python-dataclasses
|
||||||
%endif
|
%endif
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
Suggests: python-gssapi >= 1.5.0
|
||||||
|
Suggests: python-ruamel.yaml
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -80,9 +70,6 @@ sed -i '1{/^#!/ d}' src/spnego/__main__.py
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pyspnego-parse
|
%python_uninstall_alternative pyspnego-parse
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative pyspnego-parse
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user