]> git.sur5r.net Git - bacula/bacula/commitdiff
rpm: Remove libbacsd.la for both Red Hat and Suse
authorDavide Franco <davide.franco@baculasystems.com>
Mon, 29 May 2017 11:53:20 +0000 (13:53 +0200)
committerbsbuild <tech@baculasystems.com>
Mon, 29 May 2017 11:53:20 +0000 (13:53 +0200)
bacula/platforms/rpms/redhat/bacula.spec.in
bacula/platforms/rpms/suse/bacula.spec.in

index a1a6097f5037a79b20007d6e0ffeeb79bbfecf1d..fc5fbf749e1871f62de433a683b6afe273828c47 100644 (file)
@@ -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}
index 06751a15606e04420e9440585f9cebc976df1f2d..7dba1781ec82cdfa906c5755bce44c37ef6c7d78 100644 (file)
@@ -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