From 8ab89a29f965998a3e00502f241307e7f287a49e Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sat, 13 Feb 2010 11:27:07 -0500 Subject: [PATCH] Fix client only build. --- bacula/platforms/rpm/bacula.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bacula/platforms/rpm/bacula.spec b/bacula/platforms/rpm/bacula.spec index a774be3ca6..17c9262740 100644 --- a/bacula/platforms/rpm/bacula.spec +++ b/bacula/platforms/rpm/bacula.spec @@ -444,7 +444,6 @@ exit 1 # only set Disribution if not in opensuse build service, as it sets it itself %if ! 0%{?opensuse_bs} -%{?DISTNAME:%define _dist %{DISTNAME}} Distribution: %{_dist} %endif @@ -914,6 +913,7 @@ chmod o-rwx $RPM_BUILD_ROOT%{working_dir} # fix me - building enable-client-only installs files not included in bacula-client package %if %{client_only} rm -f $RPM_BUILD_ROOT%{script_dir}/bacula +rm -f $RPM_BUILD_ROOT%{script_dir}/bacula_config rm -f $RPM_BUILD_ROOT%{script_dir}/bacula-ctl-dir rm -f $RPM_BUILD_ROOT%{script_dir}/bacula-ctl-sd rm -f $RPM_BUILD_ROOT%{script_dir}/disk-changer @@ -1451,6 +1451,8 @@ echo "The database update scripts were installed to %{script_dir}/updatedb" %endif %changelog +* Sat Feb 13 2010 D. Scott Barninger +- fix client only build * Sun Feb 07 2010 D. Scott Barninger - fix mysql database upgrade * Fri Feb 05 2010 D. Scott Barninger -- 2.39.5