[hail] bz#804758: split generated docs into their own noarch package

Pete Zaitcev zaitcev at fedoraproject.org
Mon Mar 19 18:59:15 UTC 2012


commit db896ac035d007a30598c76bb56d78a6266ad7d0
Author: Pete Zaitcev <zaitcev at kotori.zaitcev.us>
Date:   Mon Mar 19 12:58:11 2012 -0600

    bz#804758: split generated docs into their own noarch package

 hail.spec |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/hail.spec b/hail.spec
index f2fd056..aa4e7e3 100644
--- a/hail.spec
+++ b/hail.spec
@@ -1,6 +1,6 @@
 Name:		hail
 Version:	0.8
-Release:	0.7.gf9c5b967%{?dist}
+Release:	0.8.gf9c5b967%{?dist}
 Summary:	Project Hail core cloud services
 
 Group:		System Environment/Libraries
@@ -79,6 +79,15 @@ Conflicts: cld-devel chunkd-devel
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
+%package devel-doc
+Summary: Documentation files for %{name}-devel
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description devel-doc
+The %{name}-doc package contains documentation for %{name}-devel.
+
 %prep
 %setup -q -n hail-0.8git
 %patch1 -p1
@@ -201,12 +210,17 @@ fi
 %config(noreplace)	%{_sysconfdir}/sysconfig/chunkd
 
 %files devel
-%doc gendoc/html gendoc/latex/refman.pdf
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*
 %{_includedir}/*
 
+%files devel-doc
+%doc gendoc/html gendoc/latex/refman.pdf
+
 %changelog
+* Mon Mar 19 2012 Pete Zaitcev <zaitcev at redhat.com> - 0.8-0.8.gf9c5b967
+- Move development documentation into noarch devel-doc subpackage, bz#804758
+
 * Wed Jan 24 2012 Pete Zaitcev <zaitcev at redhat.com> - 0.8-0.7.gf9c5b967
 - Fix leaks and crashes in hstor library
 - Add support for subdomain addressing of buckets, bz#784937


More information about the scm-commits mailing list