17
0

4 Commits

Author SHA256 Message Date
a820a86289 Accepting request 1304461 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1304461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyspnego?expand=0&rev=20
2025-09-14 16:50:15 +00:00
d10b4b9921 - Update to version 0.12.0
* Drop support for Python 3.7 - new minimum is 3.9+.
  * Add official support for Python 3.14.
  * Fix CredSSP server certificate generation to limit CN name
    to 64 characters.
  * Added support for specifying credentials for spnego.server
    using the credentials kwarg. This currently only works on
    Windows/SSPI when specifying a keytab credential for the
    service.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyspnego?expand=0&rev=37
2025-09-12 21:45:41 +00:00
8814032a95 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
992423b8e1 - 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
4 changed files with 48 additions and 17 deletions

Binary file not shown.

3
pyspnego-0.12.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8577372af834dec4b5f1c442febb16723b570ec6b9fa7d991e544aac1e8cc8bd
size 264730

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Sep 12 18:58:54 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.12.0
* Drop support for Python 3.7 - new minimum is 3.9+.
* Add official support for Python 3.14.
* Fix CredSSP server certificate generation to limit CN name
to 64 characters.
* Added support for specifying credentials for spnego.server
using the credentials kwarg. This currently only works on
Windows/SSPI when specifying a keytab credential for the
service.
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,14 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-pyspnego
Version: 0.11.2
Version: 0.12.0
Release: 0
Summary: Python SPNEGO authentication library
License: MIT
@@ -28,23 +33,28 @@ Source: https://github.com/jborean93/pyspnego/archive/v%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
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: python-rpm-macros
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-ruamel.yaml
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
%description
@@ -70,6 +80,9 @@ sed -i '1{/^#!/ d}' src/spnego/__main__.py
%postun
%python_uninstall_alternative pyspnego-parse
%pre
%python_libalternatives_reset_alternative pyspnego-parse
%check
%pytest