summaryrefslogtreecommitdiff
path: root/ctdb/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-04 23:18:12 +0100
committerMichael Adam <obnox@samba.org>2009-12-04 23:18:12 +0100
commit3420278b3ade39239d9c816459c00a6b7b816794 (patch)
tree9d95ccc42f0a27887935a1f4f6ca64ab10d23e7a /ctdb/packaging
parent98c108fa33bb3aa3b927270e0fdf488e0ab2b813 (diff)
downloadsamba-3420278b3ade39239d9c816459c00a6b7b816794.tar.gz
packaging: package tests/bin/ctdb_transaction under /usr/share/doc/tests/bin
For testing/diagnostic purposes. Michael (This used to be ctdb commit b796d736946856abfbe53de95dfcd73072ee8ccd)
Diffstat (limited to 'ctdb/packaging')
-rw-r--r--ctdb/packaging/RPM/ctdb.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/packaging/RPM/ctdb.spec.in b/ctdb/packaging/RPM/ctdb.spec.in
index 90509d077db..1cebcad7f4d 100644
--- a/ctdb/packaging/RPM/ctdb.spec.in
+++ b/ctdb/packaging/RPM/ctdb.spec.in
@@ -68,6 +68,9 @@ make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir} install
install -m644 config/ctdb.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ctdb
install -m755 config/ctdb.init $RPM_BUILD_ROOT%{initdir}/ctdb
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/ctdb/tests/bin
+install -m755 tests/bin/ctdb_transaction $RPM_BUILD_ROOT%{_docdir}/ctdb/tests/bin
+
# Remove "*.old" files
find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \;
@@ -117,6 +120,8 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/ctdb_private.h
%{_libdir}/pkgconfig/ctdb.pc
+%{_docdir}/ctdb/tests/bin/ctdb_transaction
+
%changelog
* Wed Dec 2 2009 : Version 1.0.107
- fix for rusty to solve a double-free that can happen when there are