From 965e14b37fd38035df7cc597edec026368cc4ea9 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 31 Mar 2017 18:01:38 +0200 Subject: [PATCH] Tweak bacula.spec.in --- bacula/platforms/rpms/redhat/bacula.spec.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.39.5