%global pypi_name pyspnego %global pkg_name spnego Name: python-%{pkg_name} Version: 0.5.2 Release: 1%{?dist} Summary: Windows Negotiate Authentication Client and Server License: MIT URL: https://github.com/jborean93/pyspnego Source: %{pypi_source} BuildArch: noarch %global _description %{expand: Python SPNEGO Library to handle SPNEGO (Negotiate, NTLM, Kerberos) authentication. Also includes a packet parser that can be used to decode raw NTLM/SPNEGO/Kerberos tokens into a human readable format.} %description %{_description} %package -n python3-%{pkg_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-mock) BuildRequires: python3dist(cryptography) %description -n python3-%{pkg_name} %{_description} %pyproject_extras_subpkg -n python3-%{pkg_name} kerberos %pyproject_extras_subpkg -n python3-%{pkg_name} yaml %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pkg_name} %check # Propably issues with with Python 3.9 %pytest -v tests \ -k "not ntlm \ and not test_sspi_ntlm_auth_no_sign_or_seal \ and not test_gss_sasl_description_fail \ and not test_token \ and not test_compute_response_v2 \ and not test_nltm_session_key_no_sign_seal \ and not test_credssp" \ %files -n python3-%{pkg_name} -f %{pyproject_files} %doc README.md %{_bindir}/pyspnego-parse %changelog * Fri May 13 2022 Carl George - 0.5.2-1 - Latest upstream - Convert to pyproject macros - Add extras subpackages for kerberos and yaml * Tue Feb 22 2022 Fabian Affolter - 0.5.0-1 - Update to latest upstream release 0.5.0 * Wed Jan 26 2022 Fabian Affolter - 0.3.1-1 - Update to latest upstream release 0.3.1 (closes rhbz#2046177) * Fri Jan 21 2022 Fedora Release Engineering - 0.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.1.5-2 - Rebuilt for Python 3.10 * Fri Mar 05 2021 Fabian Affolter - 0.1.5-1 - Update to latest upstream release 0.1.5 * Wed Jan 27 2021 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Sep 12 2020 Fabian Affolter - 0.1.1-2 - Add missing BR (rhbz#1876588) * Mon Sep 07 2020 Fabian Affolter - 0.1.1-1 - Initial package for Fedora