From: Kern Sibbald Date: Fri, 31 Mar 2017 16:01:38 +0000 (+0200) Subject: Tweak bacula.spec.in X-Git-Tag: Release-7.9.0~56 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=965e14b37fd38035df7cc597edec026368cc4ea9;p=bacula%2Fbacula Tweak bacula.spec.in --- diff --git a/bacula/platforms/rpms/redhat/bacula.spec.in b/bacula/platforms/rpms/redhat/bacula.spec.in index 86803dce3c..7436e3d71b 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -784,10 +784,6 @@ cp -p updatedb/* $RPM_BUILD_ROOT%{script_dir}/updatedb/ # install specific scripts -# install special upgrade script, except for sqlite3 -%if ! %{sqlite} -%endif - %if ! %{client_only} # install the sample-query.sql file cp -p examples/sample-query.sql $RPM_BUILD_ROOT%{script_dir}/sample-query.sql @@ -976,10 +972,10 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt %{_mandir}/man8/bwild.8.%{manpage_ext} %{_mandir}/man1/bsmtp.1.%{manpage_ext} %{_mandir}/man1/bat.1.%{manpage_ext} - %_prefix/share/doc/* %doc ../Release_Notes-%{version}-%{release}.txt +%endif %if %{mysql} %pre mysql