[tokyocabinet] Split devel documentation files into new sub-package tokyocabinet-devel-doc

Honza Horak hhorak at fedoraproject.org
Tue Sep 18 11:40:38 UTC 2012


commit 7807bde1a799d4900f23d13b4128f7e2a3e7c253
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Tue Sep 18 13:40:28 2012 +0200

    Split devel documentation files into new sub-package tokyocabinet-devel-doc

 tokyocabinet.spec |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/tokyocabinet.spec b/tokyocabinet.spec
index c8081ae..538ef2b 100644
--- a/tokyocabinet.spec
+++ b/tokyocabinet.spec
@@ -1,7 +1,7 @@
 Summary:	A modern implementation of a DBM
 Name:		tokyocabinet
 Version:	1.4.47
-Release:	4%{?dist}
+Release:	5%{?dist}
 License:	LGPLv2+
 Group:		Development/Libraries
 URL:		http://fallabs.com/tokyocabinet/
@@ -26,6 +26,17 @@ Requires:	pkgconfig
 This package contains the libraries and header files needed for
 developing with %{name}.
 
+%package devel-doc
+Summary:	Documentation files for developing programs that will use %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	pkgconfig
+BuildArch:	noarch
+
+%description devel-doc
+This package contains documentation files for the libraries and header files
+needed for developing with %{name}.
+
 %prep
 %setup -q
 %patch0 -p0 -b .fedora
@@ -60,9 +71,14 @@ make check
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/%{name}.pc
 %{_mandir}/man3/t*.gz
+
+%files devel-doc
 %doc doc/*
 
 %changelog
+* Tue Sep 18 2012 Honza Horak <hhorak at redhat.com> - 1.4.47-5
+- Split devel documentation files into new sub-package tokyocabinet-devel-doc
+
 * Tue Sep 18 2012 Honza Horak <hhorak at redhat.com> - 1.4.47-4
 - Minor spec file fixes
 


More information about the scm-commits mailing list