Hello community, here is the log from the commit of package slib for openSUSE:Factory checked in at 2012-10-03 10:10:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/slib (Old) and /work/SRC/openSUSE:Factory/.slib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "slib", Maintainer is "pgaj...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/slib/slib.changes 2012-09-14 12:38:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.slib.new/slib.changes 2012-10-03 10:10:13.000000000 +0200 @@ -1,0 +2,12 @@ +Wed Sep 26 21:03:01 UTC 2012 - dims...@opensuse.org + +- Fix %triggerpostun -- guile1 - scriptlet: the binary to check + for is called guile1, and not anymore guile (due to parallel + installation needs of guile1 and guile2) Fixes bnc#780827. +- Extend post-install script to always trigger when guile is + already installed. This special casing with too old guile1 + should never affect us anymore. Only minimal changes to the + scripts done, in order to have small change for a maintenance + update. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ slib.spec ++++++ --- /var/tmp/diff_new_pack.EiRWqz/_old 2012-10-03 10:10:14.000000000 +0200 +++ /var/tmp/diff_new_pack.EiRWqz/_new 2012-10-03 10:10:14.000000000 +0200 @@ -15,19 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: slib -License: SUSE-SLIB -Group: Development/Languages/Scheme Provides: scheme:/usr/lib/scheme/slib/umbscheme.init PreReq: %install_info_prereq PreReq: guile1 coreutils -AutoReqProv: on Version: 3b3 -Release: 1 +Release: 0 Summary: Portable Scheme Library +License: SUSE-SLIB +Group: Development/Languages/Scheme Url: http://swissnet.ai.mit.edu/~jaffer/SLIB.html Source: %{name}-%{version}.tar.bz2 # this is not upstreamable (bnc#754532): @@ -80,8 +77,8 @@ exit 0 %triggerpostun -- guile1 -# Delete slib library files, only if guile was uninstalled. -if ! test -e usr/bin/guile ; then +# Delete slib library files, only if guile1 was uninstalled. +if ! test -e usr/bin/guile1 ; then rm -f usr/share/guile/site/slib rm -f usr/share/guile/site/slibcat rmdir --ignore-fail-on-non-empty usr/share/guile/site @@ -95,11 +92,16 @@ # We need new guile for registration, see "Incompatible change in guile 1.8.2". # During update must be slib-3a5 installed first (See Conflits: slib < 3a5 in guile.spec) # because of %triggerin in slib, 3a1 for example, though. -if [ -d usr/share/guile/site ] ; then +if [ -d usr/share/guile/site -o -e usr/bin/guile1 ] ; then GUILE_VERSION=`guile1 -c "(display (version))" | sed "s:\.::g"` # guile is instaled if [ $GUILE_VERSION -ge 182 ]; then # we have guile >= 1.8.2 + if [ ! -d usr/share/guile/site ] ; then + # This is in orderd to fixup eventually removed guile/site folders + # which could have happened due to bnc#780827. + mkdir usr/share/guile/site + fi if [ ! -e usr/share/guile/site/slib ] ; then # link slib library into guile ln -sf ../../slib usr/share/guile/site/slib -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org