diff --git a/python-pycurl.spec b/python-pycurl.spec index 8c24758..4c6ed3e 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -119,14 +119,14 @@ nosetests-%{$python_bin_suffix} -v --with-flaky -a "$test_flags" rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python* %endif # test +%if ! %{with test} %files %{python_files} %license COPYING-LGPL COPYING-MIT %doc AUTHORS ChangeLog README.rst -%if ! %{with test} %{python_sitearch}/* -%endif %files -n %{name}-doc %doc examples doc/*.rst +%endif %changelog