14
0
Tomáš Chvátal
2019-05-22 10:20:15 +00:00
committed by Git OBS Bridge
parent fe668137a8
commit c9a7750f8b

View File

@@ -26,12 +26,11 @@ Group: Development/Libraries/Python
URL: https://github.com/google/python_portpicker
Source0: https://files.pythonhosted.org/packages/source/p/portpicker/portpicker-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mock}
# /SECTION
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
%description
@@ -47,7 +46,7 @@ harnesses that launch local servers.
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python src/tests/portpicker_test.py