On both Suse 9 and CentOS 4.6, I ran into a problem building client-only
rpms with these command lines:
sudo rpmbuild --ba --define "build_client_only 1" --define "build_su9 1"
bacula.spec
sudo rpmbuild --ba --define "build_client_only 1" --define "build_centos4 1"
bacula.spec
The error is a missing /usr/lib/bacula/bconsole file.
The diff below fixes it.
-ME
--- bacula.spec 2008-10-17 19:29:58.000000000 -0400
+++ bacula.spec 2008-10-17 15:28:40.000000000 -0400
@@ -2185,6 +2185,7 @@ fi
%files client
%defattr(-,root,root)
%attr(-, root, %{daemon_group}) %dir %{script_dir}
+%{script_dir}/bconsole
%{script_dir}/bacula-ctl-fd
/etc/init.d/bacula-fd
%if %{rescue}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|