14
0
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 %python_build
%install %install
%if !%{with test}
%python_install %python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%if %{with test} %if %{with test}
%check %check
%python_expand %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src %python_expand %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src
%endif %endif
%if !%{with test}
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.rst %doc CHANGES.rst COPYRIGHT.txt README.rst
%{python_sitelib}/* %{python_sitelib}/*
%endif
%changelog %changelog