]> git.pld-linux.org Git - packages/bacula.git/commitdiff
- do not package last installed (via %databases macro) libbacsql library as ghost
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 4 Oct 2010 14:22:25 +0000 (14:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bacula.spec -> 1.153

bacula.spec

index aecc6187340adf83840c6284509e2ff1121b6fe5..e77349bf3a6bea37a4b2e1e138aef8b6bf6ee20d 100644 (file)
@@ -12,9 +12,6 @@
 #*** WARNING: identical binaries are copied, not linked:
 #        /usr/sbin/bat
 #   and  /usr/bin/bat
-#*** WARNING: identical binaries are copied, not linked:
-#        /usr/lib64/libbacsql-postgresql-5.0.3.so
-#   and  /usr/lib64/libbacsql-5.0.3.so
 #
 # Conditional build:
 %bcond_without console_wx              # wx-console program
@@ -565,7 +562,6 @@ fakeroot %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig}
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/rescue
 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_mandir},%{_bindir},/var/log/bacula}
@@ -586,6 +582,10 @@ for database in %{databases}; do
        done
 done
 
+# replace with empty file, replaced by ldconfig from each db-* package on intsall
+rm -f $RPM_BUILD_ROOT%{_libdir}/libbacsql-%{version}.so
+touch $RPM_BUILD_ROOT%{_libdir}/libbacsql-%{version}.so
+
 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-dir
 install -p %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-fd
 install -p %{SOURCE12} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-sd
This page took 0.060494 seconds and 4 git commands to generate.