17
0

6 Commits

Author SHA256 Message Date
daceb60600 Accepting request 1301254 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyspnego?expand=0&rev=19
2025-08-25 18:39:22 +00:00
4d86ae622c - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyspnego?expand=0&rev=35
2025-08-25 11:40:46 +00:00
6bc80981ef Accepting request 1223467 from devel:languages:python
Forwarded request #1223438 from mnhauke

- Update to version 0.11.2
    * Fix CredSSP acceptor with LibreSSL.
    * Bump dev deps and add 3.13 support.
    * Update integration tests for 3.13.

OBS-URL: https://build.opensuse.org/request/show/1223467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyspnego?expand=0&rev=18
2024-11-12 18:21:51 +00:00
63d5419677 Accepting request 1223438 from home:mnhauke
- Update to version 0.11.2
  * Fix CredSSP acceptor with LibreSSL.
  * Bump dev deps and add 3.13 support.
  * Update integration tests for 3.13.

OBS-URL: https://build.opensuse.org/request/show/1223438
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyspnego?expand=0&rev=33
2024-11-12 01:22:32 +00:00
6cb7fd8ad8 Accepting request 1191760 from devel:languages:python
- update to 0.11.1:
  * Import `ARC4` cipher from the new `decrepits` module sub-
    package, this removes the warning issued in newer versions of
    the `cryptography` library

OBS-URL: https://build.opensuse.org/request/show/1191760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyspnego?expand=0&rev=17
2024-08-06 07:08:09 +00:00
55030803fb - update to 0.11.1:
* Import `ARC4` cipher from the new `decrepits` module sub-
    package, this removes the warning issued in newer versions of
    the `cryptography` library

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyspnego?expand=0&rev=31
2024-08-05 19:05:00 +00:00
2 changed files with 31 additions and 13 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyspnego # spec file for package python-pyspnego
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# 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,6 +16,11 @@
# #
%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
@@ -28,23 +33,28 @@ 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: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module dataclasses if %python-base < 3.7}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography Requires: python-cryptography
%if 0%{python_version_nodots} < 37
Requires: python-dataclasses
%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
Suggests: python-gssapi >= 1.5.0 Suggests: python-gssapi >= 1.5.0
Suggests: python-ruamel.yaml Suggests: python-ruamel.yaml
BuildArch: noarch BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module dataclasses if %python-base < 3.7}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
# /SECTION
%if 0%{python_version_nodots} < 37
Requires: python-dataclasses
%endif
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages %python_subpackages
%description %description
@@ -70,6 +80,9 @@ 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