forked from pool/python-pycurl
Accepting request 692312 from home:mcepl:branches:devel:languages:python
More elegant use of %{with test} OBS-URL: https://build.opensuse.org/request/show/692312 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=62
This commit is contained in:
@@ -119,14 +119,14 @@ nosetests-%{$python_bin_suffix} -v --with-flaky -a "$test_flags"
|
|||||||
rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
|
rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
|
||||||
%endif # test
|
%endif # test
|
||||||
|
|
||||||
|
%if ! %{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING-LGPL COPYING-MIT
|
%license COPYING-LGPL COPYING-MIT
|
||||||
%doc AUTHORS ChangeLog README.rst
|
%doc AUTHORS ChangeLog README.rst
|
||||||
%if ! %{with test}
|
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n %{name}-doc
|
%files -n %{name}-doc
|
||||||
%doc examples doc/*.rst
|
%doc examples doc/*.rst
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user