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