Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2013-08-25 13:35:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2013-08-22 10:54:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2013-08-25 13:35:24.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Aug 22 11:22:26 CEST 2013 - jsuchome@suse.cz + +- prevent accessing /etc/os-release during tests from Product.rb + constructor +- 3.0.5 + +------------------------------------------------------------------- Old: ---- yast2-3.0.4.tar.bz2 New: ---- yast2-3.0.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.2AXtNR/_old 2013-08-25 13:35:25.000000000 +0200 +++ /var/tmp/diff_new_pack.2AXtNR/_new 2013-08-25 13:35:25.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,20 @@ Name: yast2 -Version: 3.0.4 +Version: 3.0.5 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-%{version}.tar.bz2 + +Group: System/YaST +License: GPL-2.0 Source1: yast2-rpmlintrc -BuildRequires: perl-XML-Writer -BuildRequires: update-desktop-files -BuildRequires: yast2-devtools -BuildRequires: yast2-perl-bindings -BuildRequires: yast2-testsuite +BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-testsuite # Needed already in build time -BuildRequires: yast2-core >= 2.18.12 -BuildRequires: yast2-pkg-bindings >= 2.20.3 -BuildRequires: yast2-ycp-ui-bindings >= 2.18.4 +BuildRequires: yast2-core >= 2.18.12 yast2-pkg-bindings >= 2.20.3 yast2-ycp-ui-bindings >= 2.18.4 # for symlinking yardoc duplicates BuildRequires: fdupes @@ -55,10 +52,8 @@ Requires: perl-Config-Crontab # for ag_tty (/bin/stty) # for /usr/bin/md5sum -Requires: coreutils -Requires: sysconfig >= 0.80.0 -Requires: yast2-hardware-detection -Requires: yast2-xml +Requires: coreutils sysconfig >= 0.80.0 +Requires: yast2-xml yast2-hardware-detection # for SLPAPI.pm Requires: yast2-perl-bindings # for ag_anyxml @@ -103,32 +98,24 @@ Provides: yast2-lib-sequencer Obsoletes: yast2-lib-sequencer -Provides: yast2-lib-wizard -Provides: yast2-lib-wizard-devel -Provides: yast2-trans-wizard -Obsoletes: yast2-lib-wizard -Obsoletes: yast2-lib-wizard-devel -Obsoletes: yast2-trans-wizard -Provides: y2t_menu -Provides: yast2-trans-menu -Obsoletes: y2t_menu -Obsoletes: yast2-trans-menu +Provides: yast2-lib-wizard yast2-lib-wizard-devel yast2-trans-wizard +Obsoletes: yast2-lib-wizard yast2-lib-wizard-devel yast2-trans-wizard +Provides: yast2-trans-menu y2t_menu +Obsoletes: yast2-trans-menu y2t_menu # moved here from another packages -Provides: yast2-dns-server:/usr/share/YaST2/modules/DnsServerAPI.pm -Provides: yast2-installation:/usr/share/YaST2/modules/Hotplug.ycp -Provides: yast2-installation:/usr/share/YaST2/modules/HwStatus.ycp Provides: yast2-installation:/usr/share/YaST2/modules/Installation.ycp Provides: yast2-installation:/usr/share/YaST2/modules/Product.ycp -Provides: yast2-mail-aliases +Provides: yast2-installation:/usr/share/YaST2/modules/Hotplug.ycp +Provides: yast2-installation:/usr/share/YaST2/modules/HwStatus.ycp Provides: yast2-network:/usr/share/YaST2/modules/Internet.ycp Provides: yast2-packager:/usr/lib/YaST2/servers_non_y2/ag_anyxml +Provides: yast2-dns-server:/usr/share/YaST2/modules/DnsServerAPI.pm +Provides: yast2-mail-aliases Requires: yast2-ruby-bindings >= 1.0.0 Summary: YaST2 - Main Package -License: GPL-2.0 -Group: System/YaST %description This package contains scripts and data needed for SuSE Linux @@ -136,14 +123,14 @@ %package devel-doc Requires: yast2 = %version +Group: System/YaST Provides: yast2-lib-sequencer-devel -Obsoletes: yast2-devel Obsoletes: yast2-lib-sequencer-devel +Obsoletes: yast2-devel Provides: yast2-devel Requires: yast2-core-devel Summary: YaST2 - Development Scripts and Documentation -Group: System/YaST %description devel-doc This package contains scripts and data needed for a SUSE Linux @@ -175,6 +162,7 @@ %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} done + mkdir -p "$RPM_BUILD_ROOT"/usr/share/YaST2/clients mkdir -p "$RPM_BUILD_ROOT"%{_prefix}/share/applications/YaST2 mkdir -p "$RPM_BUILD_ROOT"/usr/share/YaST2/images ++++++ yast2-3.0.4.tar.bz2 -> yast2-3.0.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.0.4/Makefile.in new/yast2-3.0.5/Makefile.in --- old/yast2-3.0.4/Makefile.in 2013-08-22 08:47:37.000000000 +0200 +++ new/yast2-3.0.5/Makefile.in 2013-08-22 16:25:11.000000000 +0200 @@ -694,7 +694,7 @@ *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod u+w $(distdir) + chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.0.4/VERSION new/yast2-3.0.5/VERSION --- old/yast2-3.0.4/VERSION 2013-08-22 08:47:26.000000000 +0200 +++ new/yast2-3.0.5/VERSION 2013-08-22 12:23:36.000000000 +0200 @@ -1 +1 @@ -3.0.4 +3.0.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.0.4/configure new/yast2-3.0.5/configure --- old/yast2-3.0.4/configure 2013-08-22 08:47:36.000000000 +0200 +++ new/yast2-3.0.5/configure 2013-08-22 16:25:11.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for yast2 3.0.4. +# Generated by GNU Autoconf 2.69 for yast2 3.0.5. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -579,8 +579,8 @@ # Identity of this package. PACKAGE_NAME='yast2' PACKAGE_TARNAME='yast2' -PACKAGE_VERSION='3.0.4' -PACKAGE_STRING='yast2 3.0.4' +PACKAGE_VERSION='3.0.5' +PACKAGE_STRING='yast2 3.0.5' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1252,7 +1252,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 3.0.4 to adapt to many kinds of systems. +\`configure' configures yast2 3.0.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1323,7 +1323,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2 3.0.4:";; + short | recursive ) echo "Configuration of yast2 3.0.5:";; esac cat <<\_ACEOF @@ -1403,7 +1403,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2 configure 3.0.4 +yast2 configure 3.0.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1420,7 +1420,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 3.0.4, which was +It was created by yast2 $as_me 3.0.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2359,7 +2359,7 @@ # Define the identity of the package. PACKAGE='yast2' - VERSION='3.0.4' + VERSION='3.0.5' cat >>confdefs.h <<_ACEOF @@ -2482,7 +2482,7 @@ -VERSION="3.0.4" +VERSION="3.0.5" RPMNAME="yast2" MAINTAINER="YaST2 Maintainers <yast2-maintainers@suse.de>" @@ -3551,7 +3551,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 3.0.4, which was +This file was extended by yast2 $as_me 3.0.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3604,7 +3604,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yast2 config.status 3.0.4 +yast2 config.status 3.0.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.0.4/configure.ac new/yast2-3.0.5/configure.ac --- old/yast2-3.0.4/configure.ac 2013-08-22 08:47:33.000000000 +0200 +++ new/yast2-3.0.5/configure.ac 2013-08-22 16:25:09.000000000 +0200 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 3.0.4 - DO NOT EDIT! -- dnl (edit configure.ac.in or configure.in.in instead) -AC_INIT(yast2, 3.0.4, http://bugs.opensuse.org/, yast2) +AC_INIT(yast2, 3.0.5, 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="3.0.4" +VERSION="3.0.5" RPMNAME="yast2" MAINTAINER="YaST2 Maintainers <yast2-maintainers@suse.de>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.0.4/library/packages/src/modules/Product.rb new/yast2-3.0.5/library/packages/src/modules/Product.rb --- old/yast2-3.0.4/library/packages/src/modules/Product.rb 2013-08-22 08:47:26.000000000 +0200 +++ new/yast2-3.0.5/library/packages/src/modules/Product.rb 2013-08-22 11:26:20.000000000 +0200 @@ -202,7 +202,9 @@ ) Builtins.y2milestone("PATTERNS: %1", @patterns) end - elsif !Mode.config + # not during testing: Misc::CustomSysconfigRead used by OSRelease creates agent in runtime, + # mocking IniParser not possible + elsif !Mode.config && !Mode.test @short_name = OSRelease.ReleaseName @version = OSRelease.ReleaseVersion @name = Ops.add(Ops.add(@short_name, " "), @version) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org