Hello community,
here is the log from the commit of package yast2-pkg-bindings
checked in at Wed Feb 7 12:22:50 CET 2007.
--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes 2007-02-05 11:26:19.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-pkg-bindings/yast2-pkg-bindings.changes 2007-02-07 11:30:12.867069000 +0100
@@ -1,0 +2,9 @@
+Wed Feb 7 10:15:47 CET 2007 - lslezak@suse.cz
+
+- pass value of ProgressPackage() callback to libzypp when
+ a package is removed (#226041)
+- do not change the alias of the added source if it is not empty
+ (do not replace the product name with a time stamp) (#220195)
+- 2.15.6
+
+-------------------------------------------------------------------
Old:
----
yast2-pkg-bindings-2.15.5.tar.bz2
New:
----
yast2-pkg-bindings-2.15.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.dp7697/_old 2007-02-07 12:22:41.000000000 +0100
+++ /var/tmp/diff_new_pack.dp7697/_new 2007-02-07 12:22:41.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings (Version 2.15.5)
+# spec file for package yast2-pkg-bindings (Version 2.15.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-pkg-bindings
-Version: 2.15.5
+Version: 2.15.6
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.15.5.tar.bz2
+Source0: yast2-pkg-bindings-2.15.6.tar.bz2
prefix: /usr
BuildRequires: blocxx-devel boost boost-devel dbus-1-devel docbook-xsl-stylesheets doxygen gcc-c++ hal-devel libgcrypt-devel libxcrypt-devel libxslt perl-XML-Writer rpm-devel sgml-skel yast2-core-devel yast2-devtools
BuildRequires: libzypp-devel >= 2.4.0
@@ -40,7 +40,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-pkg-bindings-2.15.5
+%setup -n yast2-pkg-bindings-2.15.6
%build
%{prefix}/bin/y2tool y2autoconf
@@ -71,6 +71,12 @@
%doc %{prefix}/share/doc/packages/yast2-pkg-bindings
%changelog -n yast2-pkg-bindings
+* Wed Feb 07 2007 - lslezak@suse.cz
+- pass value of ProgressPackage() callback to libzypp when
+ a package is removed (#226041)
+- do not change the alias of the added source if it is not empty
+ (do not replace the product name with a time stamp) (#220195)
+- 2.15.6
* Mon Feb 05 2007 - lslezak@suse.cz
- Pkg::SourceSetEnabled() - refresh resolvables in the pool after
enabling/disabling a source (#187352), Pkg::SourceEditSet()
++++++ yast2-pkg-bindings-2.15.5.tar.bz2 -> yast2-pkg-bindings-2.15.6.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.5/configure new/yast2-pkg-bindings-2.15.6/configure
--- old/yast2-pkg-bindings-2.15.5/configure 2007-02-05 11:20:02.000000000 +0100
+++ new/yast2-pkg-bindings-2.15.6/configure 2007-02-07 11:28:53.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-pkg-bindings 2.15.5.
+# Generated by GNU Autoconf 2.60 for yast2-pkg-bindings 2.15.6.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -713,8 +713,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-pkg-bindings'
PACKAGE_TARNAME='yast2-pkg-bindings'
-PACKAGE_VERSION='2.15.5'
-PACKAGE_STRING='yast2-pkg-bindings 2.15.5'
+PACKAGE_VERSION='2.15.6'
+PACKAGE_STRING='yast2-pkg-bindings 2.15.6'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1429,7 +1429,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-pkg-bindings 2.15.5 to adapt to many kinds of systems.
+\`configure' configures yast2-pkg-bindings 2.15.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1500,7 +1500,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-pkg-bindings 2.15.5:";;
+ short | recursive ) echo "Configuration of yast2-pkg-bindings 2.15.6:";;
esac
cat <<\_ACEOF
@@ -1608,7 +1608,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-pkg-bindings configure 2.15.5
+yast2-pkg-bindings configure 2.15.6
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1622,7 +1622,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-pkg-bindings $as_me 2.15.5, which was
+It was created by yast2-pkg-bindings $as_me 2.15.6, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2423,7 +2423,7 @@
# Define the identity of the package.
PACKAGE='yast2-pkg-bindings'
- VERSION='2.15.5'
+ VERSION='2.15.6'
cat >>confdefs.h <<_ACEOF
@@ -2650,7 +2650,7 @@
-VERSION="2.15.5"
+VERSION="2.15.6"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
@@ -21612,7 +21612,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-pkg-bindings $as_me 2.15.5, which was
+This file was extended by yast2-pkg-bindings $as_me 2.15.6, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21665,7 +21665,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-pkg-bindings config.status 2.15.5
+yast2-pkg-bindings config.status 2.15.6
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.5/configure.in new/yast2-pkg-bindings-2.15.6/configure.in
--- old/yast2-pkg-bindings-2.15.5/configure.in 2007-02-05 11:19:50.000000000 +0100
+++ new/yast2-pkg-bindings-2.15.6/configure.in 2007-02-07 11:28:39.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-pkg-bindings, 2.15.5, http://bugs.opensuse.org/, yast2-pkg-bindings)
+AC_INIT(yast2-pkg-bindings, 2.15.6, http://bugs.opensuse.org/, yast2-pkg-bindings)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.15.5"
+VERSION="2.15.6"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.5/src/Callbacks.cc new/yast2-pkg-bindings-2.15.6/src/Callbacks.cc
--- old/yast2-pkg-bindings-2.15.5/src/Callbacks.cc 2007-01-11 10:37:36.000000000 +0100
+++ new/yast2-pkg-bindings-2.15.6/src/Callbacks.cc 2007-02-07 10:15:08.000000000 +0100
@@ -327,8 +327,15 @@
CB callback( ycpcb( YCPCallbacks::CB_ProgressPackage) );
if (callback._set) {
callback.addInt( value );
- callback.evaluate();
- //}
+
+ bool res = callback.evaluateBool();
+
+ if( !res )
+ {
+ y2milestone( "Package remove callback returned abort" );
+ }
+
+ return res;
}
// return default value from the parent class
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.5/src/Source.cc new/yast2-pkg-bindings-2.15.6/src/Source.cc
--- old/yast2-pkg-bindings-2.15.5/src/Source.cc 2007-02-05 10:40:17.000000000 +0100
+++ new/yast2-pkg-bindings-2.15.6/src/Source.cc 2007-02-07 10:53:52.000000000 +0100
@@ -1003,6 +1003,8 @@
zypp::Url new_url;
string alias = removeAlias (url_r, new_url);
+ y2milestone("Alias from URL: '%s'", alias.c_str());
+
zypp::Source_Ref newsrc =
(type.empty()) ?
// autoprobe source type
@@ -1010,7 +1012,8 @@
// use required source type, autorefresh = true
zypp::SourceFactory().createFrom(type, new_url, path_r, alias, zypp::filesystem::Pathname(), base_source, true);
- if (alias.empty ())
+ // if the source has empty alias use a time stamp
+ if (newsrc.alias().empty())
{
// use product name+edition as the alias
// (URL is not enough for different sources in the same DVD drive)
@@ -1027,6 +1030,7 @@
alias += timestamp ();
newsrc.setAlias( alias );
+ y2milestone("Using time stamp '%s' as the alias", alias.c_str());
}
zypp::SourceManager::SourceId id = zypp::SourceManager::sourceManager()->addSource( newsrc );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.5/VERSION new/yast2-pkg-bindings-2.15.6/VERSION
--- old/yast2-pkg-bindings-2.15.5/VERSION 2007-02-05 10:45:56.000000000 +0100
+++ new/yast2-pkg-bindings-2.15.6/VERSION 2007-02-07 11:14:58.000000000 +0100
@@ -1 +1 @@
-2.15.5
+2.15.6
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org