Tomáš Chvátal 2019-04-05 08:16:00 +00:00 committed by Git OBS Bridge
parent d851925c9d
commit 101985d11c

View File

@ -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