1
0
forked from pool/python-gssapi
python-gssapi/python-gssapi.spec
Matej Cepl 6835902162 - Update to 1.7.3
- Fix up sha512sum file generation in the GitHub release asset
  - Added Python type annotation to classes and functions
- Update to 1.7.2:
  - Fix distutil deprecation on Python 3.10 by using setuptools
    instead
- Update to 1.7.0:
  - Add Kerberos specific GSS-API Extensions
  - Tidy up docs and turn warnings into errors
- Update to 1.6.14:
  - Enable specification of krb5-config via environment variable
  - Support for GSS_C_CHANNEL_BOUND_FLAG
  - Support for docs build with sphinx 4
  - Fix undefined variable in get_all_statuses()
  - Add support for str objects in the cred store dict

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gssapi?expand=0&rev=18
2022-02-22 22:08:18 +00:00

65 lines
2.0 KiB
RPMSpec

#
# spec file for package python-gssapi
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-gssapi
Version: 1.7.3
Release: 0
Summary: A Python interface to RFC 2743/2744 (plus common extensions)
License: ISC
URL: https://pythongssapi.github.io/python-gssapi/stable/
Source: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module decorator}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: krb5-devel
BuildRequires: python-rpm-macros
Requires: python-decorator
%python_subpackages
%description
Python-GSSAPI provides both low-level and high level wrappers around the GSSAPI
C libraries. While it focuses on the Kerberos mechanism, it should also be
usable with other GSSAPI mechanisms.
%prep
%setup -q -n gssapi-%{version}
%build
export CFLAGS="%{optflags} -DHAS_GSSAPI_EXT_H -fno-strict-aliasing"
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# requires 'MIT Kerberos installation'
%files %{python_files}
%{python_sitearch}/gssapi*
%doc README.rst
%license LICENSE.txt
%changelog