diff --git a/python-TxSNI.changes b/python-TxSNI.changes index d20e75a..44cf44b 100644 --- a/python-TxSNI.changes +++ b/python-TxSNI.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 24 09:52:35 UTC 2021 - Benjamin Greiner + +- Fix python_module usage + ------------------------------------------------------------------- Fri Apr 17 09:38:39 UTC 2020 - Marketa Calabkova diff --git a/python-TxSNI.spec b/python-TxSNI.spec index 44beb11..0c521c8 100644 --- a/python-TxSNI.spec +++ b/python-TxSNI.spec @@ -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