[bacula-docs/el5] Couple of additional fixes

Simone Caronni slaanesh at fedoraproject.org
Thu Jul 19 11:42:36 UTC 2012


commit 3e5a51fb64ff98692533ae8dfc05419ea27406dc
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Thu Jul 19 13:42:23 2012 +0200

    Couple of additional fixes

 bacula-docs.spec |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/bacula-docs.spec b/bacula-docs.spec
index 6bc744c..31c0595 100644
--- a/bacula-docs.spec
+++ b/bacula-docs.spec
@@ -15,7 +15,6 @@ BuildRequires:  bacula-devel = %{version}
 Provides:       bacula-docs = %{version}-%{release}
 Obsoletes:      bacula-docs < 2.4.4-3
 
-
 %description
 Bacula is a set of programs that allow you to manage the backup,
 recovery, and verification of computer data across a network of
@@ -31,23 +30,24 @@ This package contains the documentation for most of the bacula-packages.
 %configure --with-bacula=%{_includedir}/bacula
 make
 
-for manual in problems console utility developers main misc; do
-	mkdir $manual
-	cp -f manuals/en/$manual/$manual/*.{css,html,png} $manual
-	cp -f manuals/en/$manual/$manual.pdf .
-done
-
+mv developers developers.temp
+mkdir bacula developers
+cp -f manual/bacula/*.{css,html,png} bacula
+cp -f developers.temp/developers/*.{css,html,png} developers
+cp -f manual/bacula.pdf developers.temp/developers.pdf .
 
 %install
 
+%clean
+rm -rf %{buildroot}
+
 
 %files
 %defattr(-,root,root,-)
-%doc problems.pdf problems console.pdf console
-%doc utility.pdf utility developers.pdf developers
-%doc main.pdf main misc.pdf misc
+%doc bacula.pdf bacula developers.pdf developers
 
 
 %changelog
 * Wed Jul 18 2012 Simone Caronni <negativo17 at gmail.com> - 2.4.4-4
 - First spinoff build.
+- Remove bacula-web as it is has never been included in the RHEL5 build.


More information about the scm-commits mailing list