15
0
forked from pool/python-TxSNI

Accepting request 880897 from home:bnavigator:branches:devel:languages:python

- Fix python_module usage

OBS-URL: https://build.opensuse.org/request/show/880897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-TxSNI?expand=0&rev=9
This commit is contained in:
2021-03-24 11:18:54 +00:00
committed by Git OBS Bridge
parent e6e130fa95
commit c224b3301d
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 24 09:52:35 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Fix python_module usage
-------------------------------------------------------------------
Fri Apr 17 09:38:39 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -25,8 +25,8 @@ 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: %{python_module Twisted >= 14.0.0}
BuildRequires: %{python_module pyOpenSSL >= 0.14}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Twisted >= 14.0.0
@@ -48,7 +48,7 @@ This package brings support for running a TLS server with Twisted.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand $python setup.py test
%pyunittest -v
%files %{python_files}
%license LICENSE