[eigen3] Split off large documentation to separate package

Sandro Mani smani at fedoraproject.org
Thu Feb 27 09:29:53 UTC 2014


commit 54dcb52ac7c7312d01f474a184d44ea61bf7d065
Author: Sandro Mani <manisandro at gmail.com>
Date:   Thu Feb 27 10:30:36 2014 +0100

    Split off large documentation to separate package

 eigen3.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/eigen3.spec b/eigen3.spec
index e96c26a..d66b728 100644
--- a/eigen3.spec
+++ b/eigen3.spec
@@ -8,7 +8,7 @@
 
 Name:           eigen3
 Version:        3.2.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A lightweight C++ template library for vector and matrix math
 
 Group:          Development/Libraries
@@ -49,6 +49,12 @@ Provides:  %{name}-static = %{version}-%{release}
 %description devel
 %{summary}.
 
+%package doc
+Summary:   Developer documentation for Eigen
+Requires:  %{name}-devel = %{version}-%{release}
+%description doc
+Developer documentation for Eigen.
+
 %prep
 %setup -q -n eigen-eigen-%{commit}
 
@@ -74,11 +80,16 @@ make -C %{_target_platform} %{?_smp_mflags} test ARGS="-V" || exit 0
 
 %files devel
 %doc COPYING.README COPYING.BSD COPYING.MPL2 COPYING.LGPL
-%doc %{_target_platform}/doc/html
 %{_includedir}/eigen3
 %{_datadir}/pkgconfig/*
 
+%files doc
+%doc %{_target_platform}/doc/html
+
 %changelog
+* Thu Feb 27 2014 Sandro Mani <manisandro at gmail.com> - 3.2.1-2
+- Split off doc to a separate package
+
 * Wed Feb 26 2014 Sandro Mani <manisandro at gmail.com> - 3.2.1-1
 - Udpate to release 3.2.1
 


More information about the scm-commits mailing list