diff options
author | Martin Schwenke <martin@meltin.net> | 2012-05-03 12:12:53 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2012-05-11 10:33:27 +1000 |
commit | 9346a5364f3b5b767c7c34bcb1878fcc3ab9db08 (patch) | |
tree | a1a1c552a27c4742d782ade5761beb99af873f40 /ctdb/packaging | |
parent | dfdec4a07c8d8ba938fbe6976138b93027b7655c (diff) | |
download | samba-9346a5364f3b5b767c7c34bcb1878fcc3ab9db08.tar.gz |
Packaging: generate a ctdb-tests package
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 5c23244591b8005f91d8e25e719cd332c711db14)
Diffstat (limited to 'ctdb/packaging')
-rw-r--r-- | ctdb/packaging/RPM/ctdb.spec.in | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/ctdb/packaging/RPM/ctdb.spec.in b/ctdb/packaging/RPM/ctdb.spec.in index f9a5cefb93b..c2e98e2980b 100644 --- a/ctdb/packaging/RPM/ctdb.spec.in +++ b/ctdb/packaging/RPM/ctdb.spec.in @@ -64,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d -make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir} install +make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir} install install_tests install -m644 config/ctdb.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ctdb install -m755 config/ctdb.init $RPM_BUILD_ROOT%{initdir}/ctdb @@ -144,6 +144,25 @@ development libraries for ctdb %{_includedir}/ctdb_typesafe_cb.h %{_libdir}/libctdb.a +%package tests +Summary: CTDB test suite +Group: Development/Tools +Requires: ctdb = %{version} + +%description tests +test suite for ctdb + +%files tests +%defattr(-,root,root) +%dir %{_datadir}/%{name}-tests +%{_datadir}/%{name}-tests/* +%dir %{_libdir}/%{name}-tests +%{_libdir}/%{name}-tests/* +%{_bindir}/ctdb_run_tests +%{_bindir}/ctdb_run_cluster_tests +%doc tests/README + + %changelog * Thu Mar 1 2012 : Version 1.13 - This is the new stable branch for modern features for ctdb. |