Mailinglist Archive: opensuse-commit (914 mails)

< Previous Next >
commit firebird for openSUSE:Factory

Hello community,

here is the log from the commit of package firebird for openSUSE:Factory
checked in at Thu Jun 9 15:40:10 CEST 2011.



--------
--- firebird/firebird.changes 2011-02-21 07:25:53.000000000 +0100
+++ firebird/firebird.changes 2011-05-30 21:29:45.000000000 +0200
@@ -1,0 +2,7 @@
+Mon May 30 18:08:48 UTC 2011 - dimstar@xxxxxxxxxxxx
+
+- Fix update-alternatives usage: -classic and -super need to be
+ registered as the same name to make it obvious that they are
+ alternatives.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ firebird.spec ++++++
--- /var/tmp/diff_new_pack.pc3oPx/_old 2011-06-09 15:39:26.000000000 +0200
+++ /var/tmp/diff_new_pack.pc3oPx/_new 2011-06-09 15:39:26.000000000 +0200
@@ -25,7 +25,7 @@

Name: firebird
Version: 2.1.3.18185.0
-Release: 16
+Release: 17
Group: Productivity/Databases/Servers
License: Interbase
Url: http://www.firebirdsql.org/
@@ -320,8 +320,9 @@
%postun -n %libfbembed -p /sbin/ldconfig

%post classic
-update-alternatives --install %{fbroot}/bin %{name}-classic
%{fbroot}/bin-classic 10 \
---slave %{fbroot}/UDF UDF %{fbroot}/UDF-classic \
+update-alternatives --install \
+ %{fbroot}/bin %{name} %{fbroot}/bin-classic 10 \
+--slave %{fbroot}/UDF %{name}-UDF %{fbroot}/UDF-classic \
--slave %{_bindir}/isql-fb isql-fb %{fbroot}/bin-classic/isql \
--slave %{_bindir}/gbak gbak %{fbroot}/bin-classic/gbak \
--slave %{_bindir}/gsec gsec %{fbroot}/bin-classic/gsec \
@@ -333,15 +334,16 @@
%verify_permissions -e %{fbroot}/bin-classic/fb_lock_mgr

%preun classic
-if [ $1 -eq 0 ]; then
- update-alternatives --remove-all %{name}-classic
+if [ "$1" = 0 ]; then
+ update-alternatives --remove %{name} %{fbroot}/bin-classic
if /sbin/service xinetd status >& /dev/null; then
/etc/init.d/xinetd try-restart &>/dev/null || :
fi
fi

%post superserver
-update-alternatives --install %{fbroot}/bin %{name}-super
%{fbroot}/bin-superserver 10 \
+update-alternatives --install \
+ %{fbroot}/bin %{name} %{fbroot}/bin-superserver 10 \
--slave %{fbroot}/UDF %{name}-UDF %{fbroot}/UDF-superserver \
--slave %{_bindir}/isql-fb isql-fb %{fbroot}/bin-superserver/isql \
--slave %{_bindir}/gbak gbak %{fbroot}/bin-superserver/gbak \
@@ -355,8 +357,8 @@

%preun superserver
%stop_on_removal %{name}
-if [ $1 -eq 0 ]; then
- update-alternatives --remove-all %{name}-super
+if [ "$1" = 0 ]; then
+ update-alternatives --remove %{name} %{fbroot}/bin-superserver
fi

%postun superserver


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages