15
0
forked from pool/python-TxSNI
Files
python-TxSNI/python-TxSNI.spec
Tomáš Chvátal e6e130fa95 Accepting request 794851 from home:mcalabkova:branches:devel:languages:python
- Update to 0.20.0
  * Support new OpenSSL
  * Test ALPN and NPN separately.
  * Switch cert_builder from print to twisted.logger. 
- Drop unneeded openssl111.patch

OBS-URL: https://build.opensuse.org/request/show/794851
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-TxSNI?expand=0&rev=7
2020-04-17 09:44:07 +00:00

59 lines
1.7 KiB
RPMSpec

#
# spec file for package python-TxSNI
#
# Copyright (c) 2020 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-%{**}}
Name: python-TxSNI
Version: 0.2.0
Release: 0
Summary: Python module for running a TLS server with Twisted
License: MIT
Group: Development/Languages/Python
URL: https://github.com/glyph/txsni
Source0: https://github.com/glyph/txsni/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: %{python_module Twisted} >= 14.0.0
BuildRequires: %{python_module pyOpenSSL} >= 0.14
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Twisted >= 14.0.0
Requires: python-pyOpenSSL >= 0.14
BuildArch: noarch
%python_subpackages
%description
This package brings support for running a TLS server with Twisted.
%prep
%setup -q -n txsni-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand $python setup.py test
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog