[bacula/f15] Fix bat help button

Simone Caronni slaanesh at fedoraproject.org
Wed Feb 1 13:30:16 UTC 2012


commit 824afa6da0669d7d924c804d146aa742e4849ee8
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Wed Feb 1 14:28:15 2012 +0100

    Fix bat help button

 bacula.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index 6f0bd35..ef4f677 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -3,7 +3,7 @@
 
 Name:			bacula
 Version:		5.0.3
-Release:		27%{?dist}
+Release:		28%{?dist}
 Summary:		Cross platform network backup for Linux, Unix, Mac and Windows
 # See LICENSE for details
 License:		AGPLv3 with exceptions
@@ -428,7 +428,6 @@ pushd bacula-%{version}
 %patch10 -p0 -b .mysql55
 %patch11 -p1 -b .maxvalue
 
-
 # Remove execution permissions from files we're packaging as docs later on
 find examples -type f | xargs chmod -x
 find updatedb -type f | xargs chmod -x
@@ -503,6 +502,7 @@ pushd bacula-base
 	export QMAKE=/usr/bin/qmake-qt4
 	build \
 		--enable-bat \
+		--htmldir=%{_datadir}/doc/bacula-console-bat-%{version} \
  	%if ! 0%{?rhel}
 		--enable-bwx-console \
 	%endif
@@ -1082,6 +1082,7 @@ fi
 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
 %files console-bat
 %defattr(-,root,root,-)
+%doc %{_datadir}/doc/bacula-console-bat-%{version}/*
 %config %{_sysconfdir}/security/console.apps/bat
 %config %{_sysconfdir}/pam.d/bat
 %attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bat.conf
@@ -1251,6 +1252,9 @@ fi
 
 
 %changelog
+* Wed Feb 01 2012 Simone Caronni <negativo17 at gmail.com> - 5.0.3-28
+- Add bat html docs so the help button works.
+
 * Wed Feb 01 2012 Lukas Nykryn <lnykryn at redhat.com> - 5.0.3-27
 - Remove dependency on fedora-usermgmt.
 


More information about the scm-commits mailing list