From 76945b7269cbb2cf4a41210d067dfb5ad84177e7 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Mon, 29 May 2017 13:53:20 +0200 Subject: [PATCH] rpm: Remove libbacsd.la for both Red Hat and Suse --- bacula/platforms/rpms/redhat/bacula.spec.in | 1 + bacula/platforms/rpms/suse/bacula.spec.in | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/bacula/platforms/rpms/redhat/bacula.spec.in b/bacula/platforms/rpms/redhat/bacula.spec.in index a1a6097f50..fc5fbf749e 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -698,6 +698,7 @@ rm -f $RPM_BUILD_ROOT%{script_dir}/stopmysql # Remove symlinks #rm -f $RPM_BUILD_ROOT%{_libdir}/libbaccats.so #rm -f $RPM_BUILD_ROOT%{_libdir}/libbaccats-%{version}.so +rm -f $RPM_BUILD_ROOT%{_libdir}/libbacsd.la # install the init scripts %if !%{usesystemd} diff --git a/bacula/platforms/rpms/suse/bacula.spec.in b/bacula/platforms/rpms/suse/bacula.spec.in index 06751a1560..7dba1781ec 100644 --- a/bacula/platforms/rpms/suse/bacula.spec.in +++ b/bacula/platforms/rpms/suse/bacula.spec.in @@ -703,10 +703,14 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-bgnome-console.1.%{manpage_ext} rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-bwxconsole.1.%{manpage_ext} rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-tray-monitor.1.%{manpage_ext} rm -f $RPM_BUILD_ROOT%{script_dir}/gconsole + # Storage-ctl packaged in shstore rpm rm -f $RPM_BUILD_ROOT%{script_dir}/storage-ctl rm -f $RPM_BUILD_ROOT%{script_dir}/storage-ctl.conf +# Remove libtool unneeded file +rm -f $RPM_BUILD_ROOT%{_libdir}/libbacsd.la + # fixme - make installs the mysql scripts for sqlite build %if %{sqlite} rm -f $RPM_BUILD_ROOT%{script_dir}/startmysql -- 2.39.5