diff --git a/python-zope.exceptions.spec b/python-zope.exceptions.spec index 0f49297..ea4fbe0 100644 --- a/python-zope.exceptions.spec +++ b/python-zope.exceptions.spec @@ -58,17 +58,21 @@ general purpose that they don't belong in Zope application-specific packages. %python_build %install +%if !%{with test} %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %if %{with test} %check %python_expand %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src %endif +%if !%{with test} %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst %{python_sitelib}/* +%endif %changelog