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*
|
||||
%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
|
||||
|
Reference in New Issue
Block a user