Hello community,
here is the log from the commit of package yast2
checked in at Thu Nov 6 01:05:09 CET 2008.
--------
--- yast2/yast2.changes 2008-11-05 14:49:25.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2008-11-05 19:15:35.733541000 +0100
@@ -1,0 +2,6 @@
+Wed Nov 05 19:14:39 CET 2008 - aschnell@suse.de
+
+- added Integer::Clamp (also used for #429908)
+- 2.17.45
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-2.17.44.tar.bz2
New:
----
yast2-2.17.45.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.y24214/_old 2008-11-06 01:04:27.000000000 +0100
+++ /var/tmp/diff_new_pack.y24214/_new 2008-11-06 01:04:27.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.17.44)
+# spec file for package yast2 (Version 2.17.45)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2
-Version: 2.17.44
+Version: 2.17.45
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.17.44.tar.bz2
+Source0: yast2-2.17.45.tar.bz2
Prefix: /usr
Source1: yast2-rpmlintrc
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-testsuite
@@ -147,7 +147,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.17.44
+%setup -n yast2-2.17.45
%build
%{prefix}/bin/y2tool y2autoconf
@@ -252,6 +252,9 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
* Wed Nov 05 2008 aschnell@suse.de
+- added Integer::Clamp (also used for #429908)
+- 2.17.45
+* Wed Nov 05 2008 aschnell@suse.de
- added Integer::Min and Integer::Max (needed for bnc #429908)
- 2.17.44
* Tue Nov 04 2008 mzugec@suse.cz
++++++ yast2-2.17.44.tar.bz2 -> yast2-2.17.45.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.44/configure new/yast2-2.17.45/configure
--- old/yast2-2.17.44/configure 2008-11-05 14:39:41.000000000 +0100
+++ new/yast2-2.17.45/configure 2008-11-05 19:04:41.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2 2.17.44.
+# Generated by GNU Autoconf 2.61 for yast2 2.17.45.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='yast2'
PACKAGE_TARNAME='yast2'
-PACKAGE_VERSION='2.17.44'
-PACKAGE_STRING='yast2 2.17.44'
+PACKAGE_VERSION='2.17.45'
+PACKAGE_STRING='yast2 2.17.45'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1200,7 +1200,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 2.17.44 to adapt to many kinds of systems.
+\`configure' configures yast2 2.17.45 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1271,7 +1271,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2 2.17.44:";;
+ short | recursive ) echo "Configuration of yast2 2.17.45:";;
esac
cat <<\_ACEOF
@@ -1349,7 +1349,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2 configure 2.17.44
+yast2 configure 2.17.45
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1363,7 +1363,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 $as_me 2.17.44, which was
+It was created by yast2 $as_me 2.17.45, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2184,7 +2184,7 @@
# Define the identity of the package.
PACKAGE='yast2'
- VERSION='2.17.44'
+ VERSION='2.17.45'
cat >>confdefs.h <<_ACEOF
@@ -2412,7 +2412,7 @@
-VERSION="2.17.44"
+VERSION="2.17.45"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
@@ -3427,7 +3427,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2 $as_me 2.17.44, which was
+This file was extended by yast2 $as_me 2.17.45, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3470,7 +3470,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2 config.status 2.17.44
+yast2 config.status 2.17.45
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.44/configure.in new/yast2-2.17.45/configure.in
--- old/yast2-2.17.44/configure.in 2008-11-05 14:39:37.000000000 +0100
+++ new/yast2-2.17.45/configure.in 2008-11-05 19:04:36.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.17.44, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.17.45, http://bugs.opensuse.org/, yast2)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.17.44"
+VERSION="2.17.45"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.44/library/modules/Version.ycp new/yast2-2.17.45/library/modules/Version.ycp
--- old/yast2-2.17.44/library/modules/Version.ycp 2008-11-05 14:39:52.000000000 +0100
+++ new/yast2-2.17.45/library/modules/Version.ycp 2008-11-05 19:04:52.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.17.44";
+global string yast2 = "2.17.45";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.44/library/types/src/Integer.ycp new/yast2-2.17.45/library/types/src/Integer.ycp
--- old/yast2-2.17.44/library/types/src/Integer.ycp 2008-11-05 14:24:16.000000000 +0100
+++ new/yast2-2.17.45/library/types/src/Integer.ycp 2008-11-05 18:36:39.000000000 +0100
@@ -82,4 +82,15 @@
{
return list::reduce(integer x, integer y, values, { return x > y ? x : y; });
}
+
+
+ /**
+ * Clamps the integer i.
+ */
+ global integer Clamp(integer i, integer min, integer max)
+ {
+ if (i < min) return min;
+ if (i > max) return max;
+ return i;
+ }
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.44/library/types/testsuite/tests/Integer.out new/yast2-2.17.45/library/types/testsuite/tests/Integer.out
--- old/yast2-2.17.44/library/types/testsuite/tests/Integer.out 2008-11-05 14:24:52.000000000 +0100
+++ new/yast2-2.17.45/library/types/testsuite/tests/Integer.out 2008-11-05 18:40:10.000000000 +0100
@@ -27,3 +27,9 @@
Return 1
Return 2
Return 2
+Dump Integer::Clamp
+Return 2
+Return 2
+Return 3
+Return 4
+Return 4
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.44/library/types/testsuite/tests/Integer.ycp new/yast2-2.17.45/library/types/testsuite/tests/Integer.ycp
--- old/yast2-2.17.44/library/types/testsuite/tests/Integer.ycp 2008-11-05 14:23:35.000000000 +0100
+++ new/yast2-2.17.45/library/types/testsuite/tests/Integer.ycp 2008-11-05 18:39:37.000000000 +0100
@@ -40,4 +40,11 @@
TEST(``(Integer::Max([1, 2])), [], nil);
TEST(``(Integer::Max([2, 1])), [], nil);
+DUMP("Integer::Clamp");
+TEST(``(Integer::Clamp(1, 2, 4)), [], nil);
+TEST(``(Integer::Clamp(2, 2, 4)), [], nil);
+TEST(``(Integer::Clamp(3, 2, 4)), [], nil);
+TEST(``(Integer::Clamp(4, 2, 4)), [], nil);
+TEST(``(Integer::Clamp(5, 2, 4)), [], nil);
+
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.44/VERSION new/yast2-2.17.45/VERSION
--- old/yast2-2.17.44/VERSION 2008-11-05 14:32:37.000000000 +0100
+++ new/yast2-2.17.45/VERSION 2008-11-05 19:04:10.000000000 +0100
@@ -1 +1 @@
-2.17.44
+2.17.45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org