[bacula] Add new docs to package

Simone Caronni slaanesh at fedoraproject.org
Thu Feb 21 16:34:49 UTC 2013


commit 2e1584db9032fcaf2c00afd930a75acea980ab64
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Thu Feb 21 17:34:40 2013 +0100

    Add new docs to package

 README.Fedora => README |    0
 bacula.spec             |   15 +++++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/README.Fedora b/README
similarity index 100%
rename from README.Fedora
rename to README
diff --git a/bacula.spec b/bacula.spec
index 7d54992..aaecf89 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -12,7 +12,11 @@ URL:                    http://www.bacula.org
 BuildRoot:              %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 Source0:                http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.gz
-Source5:                README.Fedora
+
+Source2:                quickstart_postgresql.txt
+Source3:                quickstart_mysql.txt
+Source4:                quickstart_sqlite3.txt
+Source5:                README
 Source6:                bacula.logrotate
 Source7:                bacula-fd.init
 Source8:                bacula-dir.init
@@ -316,6 +320,7 @@ Provides check_bacula support for Nagios.
 %patch3 -p0 -b .priv
 %patch4 -p1 -b .bat-build
 %patch5 -p1 -b .seg-fault
+cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} .
 
 # Remove execution permissions from files we're packaging as docs later on
 find updatedb -type f | xargs chmod -x
@@ -385,8 +390,6 @@ pushd src/qt-console/tray-monitor
 popd
 %endif
 
-cp %{SOURCE5} .
-
 %install
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
@@ -749,8 +752,8 @@ fi
 
 %files common
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog LICENSE SUPPORT ReleaseNotes
-%doc README.Fedora
+%doc AUTHORS ChangeLog LICENSE SUPPORT
+%doc README quickstart_*
 %config(noreplace) %{_sysconfdir}/logrotate.d/bacula
 %dir %{_sysconfdir}/%{name}
 %dir %{_libexecdir}/%{name}
@@ -905,7 +908,7 @@ fi
 %changelog
 * Thu Feb 21 2013 Simone Caronni <negativo17 at gmail.com> - 5.2.13-2
 - Removed bacula-checkconf stuff.
-- Updataed README with sqlite3 and mysql how to.
+- Separated postgresql, sqlite3 and mysql how to from README.
 
 * Wed Feb 20 2013 Simone Caronni <negativo17 at gmail.com> - 5.2.13-1
 - Update to 5.2.13, drop upstreamed patch.


More information about the scm-commits mailing list