diff --git a/bacula.spec b/bacula.spec index 1fd24b7887910c29b350aad578e573e8bba61296..fb263744e8788ecd5b364dfb233565933be991e3 100644 --- a/bacula.spec +++ b/bacula.spec @@ -3,7 +3,7 @@ Name: bacula Version: 9.4.4 -Release: 4 +Release: 5 Summary: Cross platform network backup for Linux, Unix, Mac and Windows License: AGPLv3 with exceptions URL: http://www.bacula.org @@ -95,15 +95,7 @@ Provides check_bacula support for Nagios. %prep %autosetup -p1 - -#cp %{SOURCE2} %{SOURCE3} %{SOURCE4} . - -pushd autoconf -sed -i -r 's/(hardcode_into_libs)=.*$/\1=no/' libtool/libtool.m4 -aclocal -I bacula-macros/ -I gettext-macros/ -I libtool/ -popd -autoconf -I autoconf/ -o configure autoconf/configure.in - +sed -i -r 's/(hardcode_into_libs)=.*$/\1=no/' configure find updatedb -type f | xargs chmod -x %build @@ -147,7 +139,9 @@ export PATH="$PATH:%{_qt5_bindir}" --with-subsys-dir=%{_localstatedir}/lock/subsys \ --with-working-dir=%{_localstatedir}/spool/bacula \ -%disable_rpath +# Remove RPATH +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build %make_build -C examples/nagios/check_bacula @@ -318,6 +312,9 @@ fi %{_mandir}/man* %changelog +* Mon Mar 14 2021 baizhonggui - 9.4.4-5 +- Fix configure error + * Mon Mar 8 2021 zhangjiapeng - 9.4.4-4 - Stop the service and the process exits normally