[numpy/f19] Ship only the html spinx docs in a separate doc package

Orion Poplawski orion at fedoraproject.org
Thu Nov 28 05:52:16 UTC 2013


commit 9e1bf633885425b1d63b43b87dd6741346bf7185
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Wed Nov 27 22:49:27 2013 -0700

    Ship only the html spinx docs in a separate doc package

 numpy.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/numpy.spec b/numpy.spec
index f61e6f1..d2c91d5 100644
--- a/numpy.spec
+++ b/numpy.spec
@@ -45,6 +45,12 @@ There are also basic facilities for discrete fourier transform,
 basic linear algebra and random number generation. Also included in
 this package is a version of f2py that works properly with NumPy.
 
+%package doc
+Summary:	Sphinx HTML documentation for numpy
+
+%description doc
+This package contains the Sphinx built HTML documentation for numpy.
+
 %package f2py
 Summary:        f2py for numpy
 Group:          Development/Libraries
@@ -176,7 +182,7 @@ popd &> /dev/null
 
 
 %files
-%doc doc/build/ doc/cython LICENSE.txt README.txt THANKS.txt DEV_README.txt COMPATIBILITY site.cfg.example
+%doc doc/cython LICENSE.txt README.txt THANKS.txt DEV_README.txt COMPATIBILITY site.cfg.example
 %dir %{python_sitearch}/%{name}
 %{python_sitearch}/%{name}/*.py*
 %{python_sitearch}/%{name}/core
@@ -197,6 +203,9 @@ popd &> /dev/null
 %{python_sitearch}/%{name}-*.egg-info
 %{_includedir}/numpy
 
+%files doc
+%doc doc/build/html LICENSE.txt
+
 %files f2py
 %doc docs-f2py
 %{_mandir}/man*/*


More information about the scm-commits mailing list