[bacula] Fix ldconfig/alternatives symlinks on removal and upgrades
Simone Caronni
slaanesh at fedoraproject.org
Mon Jan 30 12:04:24 UTC 2012
commit 3b2d9419362c98817b6e80bf1673db002337a971
Author: Simone Caronni <negativo17 at gmail.com>
Date: Mon Jan 30 13:04:09 2012 +0100
Fix ldconfig/alternatives symlinks on removal and upgrades
bacula.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index c42eec3..2fa27bb 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -73,6 +73,12 @@ Summary: Bacula libraries
Group: System Environment/Daemons
Obsoletes: bacula-console-gnome <= 2.4
Obsoletes: bacula-sysconfdir <= 2.4, bacula-console-wxwidgets <= 5.0.3
+Obsoletes: bacula-libs-mysql <= 5.0.3
+Obsoletes: bacula-libs-sqlite <= 5.0.3
+Obsoletes: bacula-libs-postgresql <= 5.0.3
+Provides: bacula-libs-mysql = %{version}-%{release}
+Provides: bacula-libs-sqlite = %{version}-%{release}
+Provides: bacula-libs-postgresql = %{version}-%{release}
%description libs
Bacula is a set of programs that allow you to manage the backup,
@@ -444,6 +450,9 @@ if [ "$1" = 0 ]; then
/usr/sbin/alternatives --remove libbaccats.so %{_libdir}/libbaccats-sqlite3-%{version}.so
/usr/sbin/alternatives --remove libbaccats.so %{_libdir}/libbaccats-postgresql-%{version}.so
fi
+
+
+%postun libs
/sbin/ldconfig
exit 0
@@ -788,8 +797,10 @@ fi
%changelog
-* Fri Jan 27 2012 Simone Caronni <negativo17 at gmail.com> - 5.2.5-2
+* Mon Jan 30 2012 Simone Caronni <negativo17 at gmail.com> - 5.2.5-2
- License has changed to AGPLv3 in 5.0.3. Thanks Erinn.
+- Fix ldconfig/alternatives symlinks on removal of packages and
+ upgrades from recent f15/f16 changes.
* Thu Jan 26 2012 Simone Caronni <negativo17 at gmail.com> - 5.2.5-1
- Update to 5.2.5.
More information about the scm-commits
mailing list