%global pypi_name requests-credssp Name: python-%{pypi_name} Version: 1.2.0 Release: 1%{?dist} Summary: HTTPS CredSSP authentication with the requests library License: MIT URL: https://github.com/jborean93/requests-credssp Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch %description This package allows for HTTPS CredSSP authentication using the requests library. CredSSP is a Microsoft authentication that allows your credentials to be delegated to a server giving you double hop authentication. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(cryptography) Requires: python3dist(gssapi) >= 1.5 Requires: python3dist(pyasn1) >= 0.3.1 Requires: python3dist(pyopenssl) >= 16 Requires: python3dist(pyspnego) Requires: python3dist(requests) >= 2 Requires: python3dist(six) %description -n python3-%{pypi_name} This package allows for HTTPS CredSSP authentication using the requests library. CredSSP is a Microsoft authentication that allows your credentials to be delegated to a server giving you double hop authentication. %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %pytest -v tests %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/requests_credssp/ %{python3_sitelib}/requests_credssp-%{version}-py%{python3_version}.egg-info/ %changelog * Mon Sep 07 2020 Fabian Affolter - 1.2.0-1 - Initial package for Fedora