From: Eric Bollengier Date: Fri, 16 Oct 2020 20:25:33 +0000 (+0200) Subject: rpms: Fix spec file with ldap auth plugin X-Git-Tag: Release-11.3.2~905 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb036ed2802f91af76e792434cd94723988593c;p=thirdparty%2Fbacula.git rpms: Fix spec file with ldap auth plugin --- diff --git a/bacula/platforms/rpms/redhat/bacula.spec.in b/bacula/platforms/rpms/redhat/bacula.spec.in index b42fee349..e5e03f291 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -619,6 +619,7 @@ export BACULA="Bacula" --enable-smartalloc \ --disable-conio \ --enable-readline \ + --with-ldap \ %if %{mysql} --with-mysql \ %endif @@ -746,6 +747,8 @@ rm -f $RPM_BUILD_ROOT%{systemd_dir}/bacula-sd.service rm -f $RPM_BUILD_ROOT%{plugin_dir}/ldap-dir.so %endif +rm -f $RPM_BUILD_ROOT%{_sbindir}/ldaptest + # install sqlite %if %{sqlite} cp -p %{depkgs}/sqlite3/sqlite3 $RPM_BUILD_ROOT%{sqlite_bindir}/sqlite3