[PATCH] libtdb: Move tools into own sub-package.

Stefan Schantl stefan.schantl at ipfire.org
Tue Sep 13 20:14:11 CEST 2016


Move the tools to open tdb databases into an own
sub-package, which will save space on installed systems.

Signed-off-by: Stefan Schantl <stefan.schantl at ipfire.org>
---
 libtdb/libtdb.nm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/libtdb/libtdb.nm b/libtdb/libtdb.nm
index 855025d..872df04 100644
--- a/libtdb/libtdb.nm
+++ b/libtdb/libtdb.nm
@@ -5,7 +5,7 @@
 
 name       = libtdb
 version    = 1.3.11
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = http://tdb.samba.org/
@@ -36,6 +36,22 @@ end
 packages
 	package %{name}
 
+	package tdb-tools
+		summary = Tools to manage Tdb files.
+		description
+			%{summary}
+		end
+
+		requires
+			%{name} = %{thisver}
+		end
+
+		files
+			%{bindir}
+			%{mandir}/man8/*.*
+		end
+	end
+
 	package %{name}-devel
 		template DEVEL
 	end
-- 
2.7.4



More information about the Development mailing list