forked from pool/python-smbprotocol
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
5984add100
commit
1b450e6bf8
@@ -26,7 +26,12 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/jborean93/smbprotocol
|
URL: https://github.com/jborean93/smbprotocol
|
||||||
#Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz
|
#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
|
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 setuptools}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cryptography >= 2.0
|
Requires: python-cryptography >= 2.0
|
||||||
@@ -36,11 +41,6 @@ Requires: python-six
|
|||||||
Suggests: python-gssapi >= 1.4.1
|
Suggests: python-gssapi >= 1.4.1
|
||||||
Suggests: python-ordereddict
|
Suggests: python-ordereddict
|
||||||
BuildArch: noarch
|
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
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -71,7 +71,7 @@ Features
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version}
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user