Hello community, here is the log from the commit of package yast2-users checked in at Mon Feb 26 19:06:40 CET 2007. -------- --- yast2-users/yast2-users.changes 2007-02-23 14:25:48.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2007-02-26 13:59:08.844555000 +0100 @@ -1,0 +2,6 @@ +Mon Feb 26 13:51:56 CET 2007 - jsuchome@suse.cz + +- fixed usage of new Package::Available +- 2.15.15 + +------------------------------------------------------------------- Old: ---- yast2-users-2.15.14.tar.bz2 New: ---- yast2-users-2.15.15.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.qo6279/_old 2007-02-26 19:06:33.000000000 +0100 +++ /var/tmp/diff_new_pack.qo6279/_new 2007-02-26 19:06:33.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package yast2-users (Version 2.15.14) +# spec file for package yast2-users (Version 2.15.15) # # 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-users -Version: 2.15.14 +Version: 2.15.15 Release: 1 License: GNU General Public License (GPL) Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-users-2.15.14.tar.bz2 +Source0: yast2-users-2.15.15.tar.bz2 prefix: /usr BuildRequires: cracklib-devel doxygen gcc-c++ perl-Digest-SHA1 perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-ldap-client yast2-mail-aliases yast2-perl-bindings yast2-security yast2-testsuite Requires: yast2 yast2-perl-bindings yast2-country yast2-pam yast2-security yast2-mail-aliases cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext yast2-ldap-client @@ -42,7 +42,7 @@ Jiri Suchomel <jsuchome@suse.cz> %prep -%setup -n yast2-users-2.15.14 +%setup -n yast2-users-2.15.15 %build %{prefix}/bin/y2tool y2autoconf @@ -86,6 +86,9 @@ %doc %{prefix}/share/doc/packages/yast2-users %changelog +* Mon Feb 26 2007 - jsuchome@suse.cz +- fixed usage of new Package::Available +- 2.15.15 * Fri Feb 23 2007 - jsuchome@suse.cz - include documentaion for YaPI's USERS.pm (#248203) - 2.15.14 ++++++ yast2-users-2.15.14.tar.bz2 -> yast2-users-2.15.15.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.15.14/src/inst_auth.ycp new/yast2-users-2.15.15/src/inst_auth.ycp --- old/yast2-users-2.15.14/src/inst_auth.ycp 2007-02-01 14:21:03.000000000 +0100 +++ new/yast2-users-2.15.15/src/inst_auth.ycp 2007-02-26 10:27:33.000000000 +0100 @@ -178,14 +178,19 @@ list<string> available_clients = [ "users", "ldap" ]; -if (Package::Available ("yast2-nis-client") && found) - available_clients = add (available_clients, "nis"); - -if (Package::Available ("yast2-samba-client") && found) - available_clients = add (available_clients, "samba"); +if (found) +{ + boolean available = false; + foreach (string client, string package, $[ "nis" : "yast2-nis-client", + "samba" : "yast2-samba-client", "edir_ldap" : "yast2-linux-user-mgmt" ], { + if (available == nil) + return; + available = Package::Available (package); + if (available == true) + available_clients = add (available_clients, client); + }); +} -if (Package::Available ("yast2-linux-user-mgmt") && found) - available_clients = add (available_clients, "edir_ldap"); if (contains (available_clients, "nis")) { diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-users-2.15.14/VERSION new/yast2-users-2.15.15/VERSION --- old/yast2-users-2.15.14/VERSION 2007-02-23 13:50:34.000000000 +0100 +++ new/yast2-users-2.15.15/VERSION 2007-02-26 13:52:16.000000000 +0100 @@ -1 +1 @@ -2.15.14 +2.15.15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de