<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The end user also has to download and install the new docs package everytime<br>
the main bacula package is updated when the -docs package is just<br>
a subpackage (instead of a separate package).<br>
<br>
I agree that having a separate package makes a lot of sense here.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Toshio</font></span><br></blockquote></div><br>That&#39;s the main reason for splitting.<br>
The only problem is that the document build system parses a header file 
in the Bacula source code to get the versions to put in the front page 
of the manuals.<br>
<br>
It is acceptable to do the following during the %prep section?<br>
<br>
%prep<br>
%setup -q<br>
<br># To get the needed info for the fake header launch the following command in the bacula source folder:<br># cat src/version.h | grep ^#define<br><br>
mkdir src<br>
cat &gt; src/version.h &lt;&lt; EOF<br>
#define VERSION &quot;5.2.3&quot;<br>
#define BDATE   &quot;16 December 2011&quot;<br>
#define LSMDATE &quot;16Dec11&quot;<br>
#define PROG_COPYRIGHT &quot;Copyright (C) %d-2011 Free Software Foundation Europe e.V.\n&quot;<br>
#define BYEAR &quot;2011&quot;       /* year for copyright messages in progs */<br>
EOF<br>
<br>
%build<br>
%configure --with-bacula=%{_builddir}/%{name}-%{version}<br>
make %{?_smp_mflags}<br>
<br>
Those five lines from the src/version.h file are the only thing needed from the Bacula sources.<br>By creating that file the sources compile fine. Is that ok?<br><br>Thanks,<br>--Simone<br><br>
<br clear="all"><br>-- <br>You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).<br><br>