Summary: Secure HTTP request signing using the HTTP Signature draft specification Name: python-httpsig-cffi Version: 15.0.0 Release: 1%{?dist} License: MIT URL: https://github.com/hawkowl/httpsig_cffi Source0: https://files.pythonhosted.org/packages/source/h/httpsig-cffi/httpsig_cffi-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(cryptography) BuildRequires: python3dist(requests) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(six) %description Sign HTTP requests with secure signatures according to the IETF HTTP Signatures specification (Draft 3_). This is a fork of the fork of the original module that was made to fully support both RSA and HMAC schemes as well as unit test both schemes to prove they work. This particular fork moves from PyCrypto to Cryptography, which provides PyPy support. %package -n python3-httpsig-cffi Summary: %{summary} %{?python_provide:%python_provide python3-httpsig-cffi} Requires: python3dist(cryptography) Requires: python3dist(requests) Requires: python3dist(six) %description -n python3-httpsig-cffi Sign HTTP requests with secure signatures according to the IETF HTTP Signatures specification (Draft 3_). This is a fork of the fork of the original module that was made to fully support both RSA and HMAC schemes as well as unit test both schemes to prove they work. This particular fork moves from PyCrypto to Cryptography, which provides PyPy support. %prep %autosetup -n httpsig_cffi-%{version} %build %py3_build %install %py3_install rm -rf %{buildroot}%{python3_sitelib}/httpsig_cffi/tests %check %{__python3} setup.py test %files -n python3-httpsig-cffi %license LICENSE.txt %doc README.rst %{python3_sitelib}/httpsig_cffi %{python3_sitelib}/httpsig_cffi-%{version}-py?.?.egg-info %changelog * Wed Jun 06 2018 Terje Rosten - 15.0.0-1 - Initial package