From 1b450e6bf881a0fa84b6fcd292c73fad4ad289ffce4b6342b80171718a208da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Sep 2019 09:56:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=8 --- python-smbprotocol.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python-smbprotocol.spec b/python-smbprotocol.spec index e4a2e88..ff4a4ed 100644 --- a/python-smbprotocol.spec +++ b/python-smbprotocol.spec @@ -26,7 +26,12 @@ Group: Development/Languages/Python URL: https://github.com/jborean93/smbprotocol #Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module cryptography >= 2.0} +BuildRequires: %{python_module ntlm-auth} +BuildRequires: %{python_module pyasn1} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 2.0 @@ -36,11 +41,6 @@ Requires: python-six Suggests: python-gssapi >= 1.4.1 Suggests: python-ordereddict BuildArch: noarch -BuildRequires: %{python_module cryptography >= 2.0} -BuildRequires: %{python_module ntlm-auth} -BuildRequires: %{python_module pyasn1} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six} %python_subpackages %description @@ -71,7 +71,7 @@ Features %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} +%pytest %files %{python_files} %license LICENSE