Group :: Development/Python3
RPM: python3-module-spnego
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname spnego
%def_with check
Name: python3-module-%oname
Version: 0.9.1
Release: alt2
Summary: Python SPNEGO authentication library
License: MIT
Group: Development/Python3
URL: https://pypi.org/project/pyspnego
VCS: https://github.com/jborean93/pyspnego
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-pytest-cov
BuildRequires: python3-module-cryptography
BuildRequires: python3-module-pytest-mock
%endif
# This is stuff for windows OS
%add_python3_req_skip spnego._sspi_raw.sspi
%description
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.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc LICENSE *.md
%_bindir/pyspnego-parse
%python3_sitelibdir/%oname
%python3_sitelibdir/py%oname-%version.dist-info
%changelog
…
Todas as alterações você pod ver aqui
%def_with check
Name: python3-module-%oname
Version: 0.9.1
Release: alt2
Summary: Python SPNEGO authentication library
License: MIT
Group: Development/Python3
URL: https://pypi.org/project/pyspnego
VCS: https://github.com/jborean93/pyspnego
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-pytest-cov
BuildRequires: python3-module-cryptography
BuildRequires: python3-module-pytest-mock
%endif
# This is stuff for windows OS
%add_python3_req_skip spnego._sspi_raw.sspi
%description
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.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc LICENSE *.md
%_bindir/pyspnego-parse
%python3_sitelibdir/%oname
%python3_sitelibdir/py%oname-%version.dist-info
%changelog
…
Todas as alterações você pod ver aqui