diff options
author | Martin Schwenke <martin@meltin.net> | 2018-07-06 16:38:43 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-07-11 11:48:38 +0200 |
commit | 06be1c8593fc84068896b428bdc39e7033bd85e2 (patch) | |
tree | 06ffb35571273677599a0b479aadaea29e76e4c4 /ctdb/packaging | |
parent | a3610d1cbcebb0fe81505d42276604804a112d9a (diff) | |
download | samba-06be1c8593fc84068896b428bdc39e7033bd85e2.tar.gz |
ctdb-build: Install event scripts in CTDB_DATADIR
Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/packaging')
-rw-r--r-- | ctdb/packaging/RPM/ctdb.spec.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ctdb/packaging/RPM/ctdb.spec.in b/ctdb/packaging/RPM/ctdb.spec.in index b07401fc1b9..2aeb6c358eb 100644 --- a/ctdb/packaging/RPM/ctdb.spec.in +++ b/ctdb/packaging/RPM/ctdb.spec.in @@ -128,10 +128,7 @@ mkdir -p $RPM_BUILD_ROOT%{initdir} install -m755 config/ctdb.init $RPM_BUILD_ROOT%{initdir}/ctdb %endif -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ctdb/events/notification - # This is a hack. All documents should be installed in /usr/share/doc. -rm -f $RPM_BUILD_ROOT%{_sysconfdir}/ctdb/events/README cp config/events/README README.eventscripts rm -f $RPM_BUILD_ROOT%{_sysconfdir}/ctdb/nfs-checks.d/README cp config/nfs-checks.d/README README.nfs-checks.d @@ -155,7 +152,6 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/ctdb/ctdb.tunables %config(noreplace) %{_sysconfdir}/ctdb/script.options %{_sysconfdir}/ctdb/notify.sh -%dir %{_sysconfdir}/ctdb/events/notification %config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh %config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh %config(noreplace) %{_sysconfdir}/ctdb/debug_locks.sh @@ -199,6 +195,8 @@ rm -rf $RPM_BUILD_ROOT %{_libexecdir}/ctdb/* %dir %{_libdir} %{_libdir}/ctdb/lib* +%dir %{_datadir}/ctdb/events +%{_datadir}/ctdb/events/* %{_mandir}/man1/ctdb.1.gz %{_mandir}/man1/ctdb_diagnostics.1.gz %{_mandir}/man1/ctdbd.1.gz |