Group :: System/Libraries
RPM: python3-module-kerberos
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define mname kerberos
# These tests are crappy
%def_without check
Name: python3-module-%mname
Version: 1.3.1
Release: alt1
Summary: A high-level wrapper for Kerberos (GSSAPI) operations
License: Apache-2.0
Group: System/Libraries
# Source-git: https://github.com/apple/ccs-pykerberos.git
Url: https://pypi.python.org/pypi/kerberos
Source0: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: libkrb5-devel
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-requests
BuildRequires: python3-module-psutil
BuildRequires: /proc
%endif
%description
This Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
The goal is to avoid having to build a module that wraps the entire
Kerberos.framework, and instead offer a limited set of functions that do what
is needed for client/serverKerberos authentication based on
<http://www.ietf.org/rfc/rfc4559.txt>.
Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7.
%prep
%setup
%build
%add_optflags -fno-strict-aliasing
%python3_build
%install
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v
%files
%doc *.md
%python3_sitelibdir/kerberos*.so
%python3_sitelibdir/kerberos-%version-py%_python3_version.egg-info
%changelog
…
Full changelog you can see here
%define mname kerberos
# These tests are crappy
%def_without check
Name: python3-module-%mname
Version: 1.3.1
Release: alt1
Summary: A high-level wrapper for Kerberos (GSSAPI) operations
License: Apache-2.0
Group: System/Libraries
# Source-git: https://github.com/apple/ccs-pykerberos.git
Url: https://pypi.python.org/pypi/kerberos
Source0: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: libkrb5-devel
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-requests
BuildRequires: python3-module-psutil
BuildRequires: /proc
%endif
%description
This Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
The goal is to avoid having to build a module that wraps the entire
Kerberos.framework, and instead offer a limited set of functions that do what
is needed for client/serverKerberos authentication based on
<http://www.ietf.org/rfc/rfc4559.txt>.
Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7.
%prep
%setup
%build
%add_optflags -fno-strict-aliasing
%python3_build
%install
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v
%files
%doc *.md
%python3_sitelibdir/kerberos*.so
%python3_sitelibdir/kerberos-%version-py%_python3_version.egg-info
%changelog
…
Full changelog you can see here