Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2019-08-15 15:42:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2" Thu Aug 15 15:42:14 2019 rev:458 rq:721778 version:4.2.18 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2019-08-05 19:25:50.634144499 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.9556/yast2.changes 2019-08-15 15:42:15.955211185 +0200 @@ -1,0 +2,7 @@ +Thu Aug 8 09:28:03 UTC 2019 - Martin Vidner <[email protected]> + +- Remove the obsolete XVersion API (bsc#1144627). +- Detect missing textdomain during testing (bsc#1130822) +- 4.2.18 + +------------------------------------------------------------------- Old: ---- yast2-4.2.17.tar.bz2 New: ---- yast2-4.2.18.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.bZV2H9/_old 2019-08-15 15:42:16.427211076 +0200 +++ /var/tmp/diff_new_pack.bZV2H9/_new 2019-08-15 15:42:16.431211075 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.2.17 +Version: 4.2.18 Release: 0 Summary: YaST2 Main Package License: GPL-2.0-only @@ -105,12 +105,12 @@ # xdg-su in .desktops Recommends: xdg-utils +# removed the XVersion API +Conflicts: yast2-country < 4.2.3 # SrvStatusComponent moved to yast2.rpm Conflicts: yast2-dns-server < 3.1.17 -# InstError -Conflicts: yast2-installation < 2.18.5 -# moved export method -Conflicts: yast2-installation < 4.1.8 +# removed the XVersion API +Conflicts: yast2-installation < 4.2.9 # moved cfg_mail.scr Conflicts: yast2-mail < 3.1.7 # Older packager use removed API @@ -137,6 +137,7 @@ %setup -q %check +export Y2STRICTTEXTDOMAIN=1 %yast_check %build @@ -206,8 +207,6 @@ %{_fillupdir}/sysconfig.yast2 %{_datadir}/bash-completion/completions/yast2*.sh -# configuration files -%config %{_sysconfdir}/YaST2/XVersion # documentation (not included in devel subpackage) %doc %dir %{yast_docdir} ++++++ yast2-4.2.17.tar.bz2 -> yast2-4.2.18.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/Rakefile new/yast2-4.2.18/Rakefile --- old/yast2-4.2.17/Rakefile 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/Rakefile 2019-08-08 15:52:51.000000000 +0200 @@ -3,7 +3,6 @@ Yast::Tasks.configuration do |conf| # lets ignore license check for now conf.skip_license_check << /.*/ - conf.install_locations["data/XVersion"] = File.join(Packaging::Configuration::DESTDIR, "/etc/YaST2/") conf.install_locations["scripts/yast2-completion.sh"] = File.join(Packaging::Configuration::DESTDIR, "/usr/share/bash-completion/completions") conf.install_locations["scripts/yast2-funcs"] = File.join(Packaging::Configuration::YAST_LIB_DIR, "/bin/") conf.install_locations["scripts/yast2"] = File.join(Packaging::Configuration::DESTDIR, "/usr/sbin/") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/data/XVersion new/yast2-4.2.18/data/XVersion --- old/yast2-4.2.17/data/XVersion 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/data/XVersion 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -Xbindir="/usr/bin" -Xlibdir="/usr/lib" -Xlib64dir="/usr/lib64" -Xmandir="/usr/man" -Xincludedir="/usr/include" -Xsharedir="/usr/share" -Xinfodir="/usr/info" -Xfontdir="/usr/share/fonts" -Xexecutable="Xorg -noreset" -Xorgconftempl="/etc/X11/xorg.conf.template" -Xstartpath="" -Xdriverpath="/usr/lib/xorg/modules/drivers" -Xdriver64path="/usr/lib64/xorg/modules/drivers" -Xvncparam="" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/library/commandline/test/clients/dummy_cmdline.rb new/yast2-4.2.18/library/commandline/test/clients/dummy_cmdline.rb --- old/yast2-4.2.17/library/commandline/test/clients/dummy_cmdline.rb 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/library/commandline/test/clients/dummy_cmdline.rb 2019-08-08 15:52:51.000000000 +0200 @@ -2,6 +2,7 @@ class DummyCmdlineClient < Client def main Yast.import "CommandLine" + textdomain "example" # Command line definition cmdline = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/library/general/example/popup_params.rb new/yast2-4.2.18/library/general/example/popup_params.rb --- old/yast2-4.2.17/library/general/example/popup_params.rb 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/library/general/example/popup_params.rb 2019-08-08 15:52:51.000000000 +0200 @@ -39,5 +39,3 @@ end Yast::UI.CloseDialog - -nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/library/general/src/modules/XVersion.rb new/yast2-4.2.18/library/general/src/modules/XVersion.rb --- old/yast2-4.2.17/library/general/src/modules/XVersion.rb 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/library/general/src/modules/XVersion.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,128 +0,0 @@ -# *************************************************************************** -# -# Copyright (c) 2002 - 2012 Novell, Inc. -# All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of version 2 of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, contact Novell, Inc. -# -# To contact Novell about this file by physical or electronic mail, -# you may find current contact information at www.novell.com -# -# *************************************************************************** -# File: modules/XVersion.ycp -# Module: yast2 -# Summary: Differences between multiple X versions -# Authors: Jiri Srain <[email protected]> -# -require "yast" - -module Yast - class XVersionClass < Module - def main - # All paths related to X server - @_paths = nil - end - - # Initialize the paths - def Initialize - keys = SCR.Dir(path(".x_version")) - if Ops.greater_than(Builtins.size(keys), 0) - @_paths = {} - Builtins.foreach(keys) do |k| - id = Builtins.substring(k, 1) - Ops.set( - @_paths, - id, - Convert.to_string(SCR.Read(Builtins.add(path(".x_version"), k))) - ) - end - Builtins.y2milestone("X11 paths: %1", @_paths) - else - Builtins.y2error("Data for XVersion not defined!") - end - - nil - end - - # Provide a path - # @param [String] id string path identification to provide - # @return [String] required path, nil if not defined - def Path(id) - Initialize() if @_paths.nil? - Ops.get(@_paths, id) - end - - # wrappers below - - # Provide path to bin directory of X11 - # @return [String] path to /usr/X11R6/bin, resp. /usr/bin - def binPath - Path("bindir") - end - - # Provide path to lib directory of X11 - # @return [String] path to /usr/X11R6/lib, resp. /usr/lib - def libPath - Path("libdir") - end - - # Provide path to lib64 directory of X11 - # @return [String] path to /usr/X11R6/lib64, resp. /usr/lib64 - def lib64Path - Path("lib64dir") - end - - # Provide path to man directory of X11 - # @return [String] path to /usr/X11R6/man, resp. /usr/man - def manPath - Path("mandir") - end - - # Provide path to include directory of X11 - # @return [String] path to /usr/X11R6/include, resp. /usr/include - def includePath - Path("includedir") - end - - # Provide path to share directory of X11 - # @return [String] path to /usr/X11R6/share, resp. /usr/share - def sharePath - Path("sharedir") - end - - # Provide path to info directory of X11 - # @return [String] path to /usr/X11R6/info, resp. /usr/info - def infoPath - Path("infodir") - end - - # Provide path to font directory of X11 - # @return [String] path to /usr/X11R6/font, resp. /usr/font - def fontPath - Path("fontdir") - end - - publish function: :Path, type: "string (string)" - publish function: :binPath, type: "string ()" - publish function: :libPath, type: "string ()" - publish function: :lib64Path, type: "string ()" - publish function: :manPath, type: "string ()" - publish function: :includePath, type: "string ()" - publish function: :sharePath, type: "string ()" - publish function: :infoPath, type: "string ()" - publish function: :fontPath, type: "string ()" - end - - XVersion = XVersionClass.new - XVersion.main -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/library/general/src/scrconf/cfg_xversion.scr new/yast2-4.2.18/library/general/src/scrconf/cfg_xversion.scr --- old/yast2-4.2.17/library/general/src/scrconf/cfg_xversion.scr 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/library/general/src/scrconf/cfg_xversion.scr 1970-01-01 01:00:00.000000000 +0100 @@ -1,16 +0,0 @@ -# - -.x_version - -`ag_ini( - `IniAgent("/etc/YaST2/XVersion", $[ - "options" : [ "flat", "global_values" ], - "params" : [ - $[ - "match" : [ "^[ \t]*([_a-zA-Z0-9]+)[ \t]*=[ \t]*\"(.*)\"[ \t]*$" , "%s = \"%s\""], - ] - ] - ] - ) -) - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/library/systemd/examples/comparison_of_widgets.rb new/yast2-4.2.18/library/systemd/examples/comparison_of_widgets.rb --- old/yast2-4.2.17/library/systemd/examples/comparison_of_widgets.rb 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/library/systemd/examples/comparison_of_widgets.rb 2019-08-08 15:52:51.000000000 +0200 @@ -53,5 +53,3 @@ Example.read Example.ui_loop Example.write - -nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/library/systemd/examples/service_widget.rb new/yast2-4.2.18/library/systemd/examples/service_widget.rb --- old/yast2-4.2.17/library/systemd/examples/service_widget.rb 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/library/systemd/examples/service_widget.rb 2019-08-08 15:52:51.000000000 +0200 @@ -41,5 +41,3 @@ Example.ui_loop Example.write - -nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/package/yast2.changes new/yast2-4.2.18/package/yast2.changes --- old/yast2-4.2.17/package/yast2.changes 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/package/yast2.changes 2019-08-08 15:52:51.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Aug 8 09:28:03 UTC 2019 - Martin Vidner <[email protected]> + +- Remove the obsolete XVersion API (bsc#1144627). +- Detect missing textdomain during testing (bsc#1130822) +- 4.2.18 + +------------------------------------------------------------------- Mon Aug 5 07:55:15 UTC 2019 - David Diaz <[email protected]> - Allow to know if there is a forced base product diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.17/package/yast2.spec new/yast2-4.2.18/package/yast2.spec --- old/yast2-4.2.17/package/yast2.spec 2019-08-05 16:42:03.000000000 +0200 +++ new/yast2-4.2.18/package/yast2.spec 2019-08-08 15:52:51.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.2.17 +Version: 4.2.18 Release: 0 Summary: YaST2 Main Package License: GPL-2.0-only @@ -105,12 +105,12 @@ # xdg-su in .desktops Recommends: xdg-utils +# removed the XVersion API +Conflicts: yast2-country < 4.2.3 # SrvStatusComponent moved to yast2.rpm Conflicts: yast2-dns-server < 3.1.17 -# InstError -Conflicts: yast2-installation < 2.18.5 -# moved export method -Conflicts: yast2-installation < 4.1.8 +# removed the XVersion API +Conflicts: yast2-installation < 4.2.9 # moved cfg_mail.scr Conflicts: yast2-mail < 3.1.7 # Older packager use removed API @@ -137,6 +137,7 @@ %setup -q %check +export Y2STRICTTEXTDOMAIN=1 %yast_check %build @@ -206,8 +207,6 @@ %{_fillupdir}/sysconfig.yast2 %{_datadir}/bash-completion/completions/yast2*.sh -# configuration files -%config %{_sysconfdir}/YaST2/XVersion # documentation (not included in devel subpackage) %doc %dir %{yast_docdir}
