From c9a7750f8be725becf10e3387dbe82a9519441acbce120a7a58ad2fef418ecd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 22 May 2019 10:20:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=7 --- python-portpicker.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-portpicker.spec b/python-portpicker.spec index d0eeb5c..768ecfb 100644 --- a/python-portpicker.spec +++ b/python-portpicker.spec @@ -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