From: Davide Franco Date: Mon, 29 May 2017 11:53:20 +0000 (+0200) Subject: rpm: Remove libbacsd.la for both Red Hat and Suse X-Git-Tag: Release-7.9.2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=76945b7269cbb2cf4a41210d067dfb5ad84177e7;p=bacula%2Fbacula rpm: Remove libbacsd.la for both Red Hat and Suse --- 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