Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libyui for openSUSE:Factory checked 
in at 2021-10-29 22:33:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui (Old)
 and      /work/SRC/openSUSE:Factory/.libyui.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui"

Fri Oct 29 22:33:52 2021 rev:71 rq:927543 version:4.2.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui/libyui.changes    2021-10-25 
15:17:56.205694515 +0200
+++ /work/SRC/openSUSE:Factory/.libyui.new.1890/libyui.changes  2021-10-29 
22:34:49.467695519 +0200
@@ -1,0 +2,6 @@
+Thu Oct 21 13:39:46 UTC 2021 - Martin Vidner <mvid...@suse.com>
+
+- ncurses: Fix sorting tables by strings (jsc#SLE-17782)
+- 4.2.21
+
+-------------------------------------------------------------------

Old:
----
  libyui-4.2.20.tar.bz2

New:
----
  libyui-4.2.21.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libyui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.WcRmE4/_old  2021-10-29 22:34:49.931695694 +0200
+++ /var/tmp/diff_new_pack.WcRmE4/_new  2021-10-29 22:34:49.931695694 +0200
@@ -20,7 +20,7 @@
 Name:           libyui-bindings
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 Summary:        Bindings for libyui
 License:        LGPL-2.1-only OR LGPL-3.0-only

++++++ libyui-ncurses-pkg.spec ++++++
--- /var/tmp/diff_new_pack.WcRmE4/_old  2021-10-29 22:34:49.951695702 +0200
+++ /var/tmp/diff_new_pack.WcRmE4/_new  2021-10-29 22:34:49.951695702 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses-pkg
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15

libyui-ncurses-rest-api.spec: same change
++++++ libyui-ncurses.spec ++++++
--- /var/tmp/diff_new_pack.WcRmE4/_old  2021-10-29 22:34:49.983695714 +0200
+++ /var/tmp/diff_new_pack.WcRmE4/_new  2021-10-29 22:34:49.983695714 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
@@ -28,6 +28,7 @@
 BuildRequires:  boost-devel
 BuildRequires:  cmake >= 3.10
 BuildRequires:  gcc-c++
+BuildRequires:  libboost_test-devel
 BuildRequires:  libyui-devel >= %{version}
 BuildRequires:  ncurses-devel
 
@@ -121,6 +122,12 @@
 install -m0644 ../../COPYING* $RPM_BUILD_ROOT/%{_docdir}/%{bin_name}/
 popd
 
+%check
+pushd %{name}
+cd build
+make test ARGS=-V
+popd
+
 %post -n %{bin_name} -p /sbin/ldconfig
 %postun -n %{bin_name} -p /sbin/ldconfig
 

++++++ libyui-qt-graph.spec ++++++
--- /var/tmp/diff_new_pack.WcRmE4/_old  2021-10-29 22:34:49.999695720 +0200
+++ /var/tmp/diff_new_pack.WcRmE4/_new  2021-10-29 22:34:50.003695722 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-graph
 
 # DO NOT manually bump the version here; instead, use   rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15

++++++ libyui-qt-pkg.spec ++++++
--- /var/tmp/diff_new_pack.WcRmE4/_old  2021-10-29 22:34:50.019695728 +0200
+++ /var/tmp/diff_new_pack.WcRmE4/_new  2021-10-29 22:34:50.023695729 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-pkg
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15

libyui-qt-rest-api.spec: same change
libyui-qt.spec: same change
libyui-rest-api.spec: same change
++++++ libyui.spec ++++++
--- /var/tmp/diff_new_pack.WcRmE4/_old  2021-10-29 22:34:50.119695765 +0200
+++ /var/tmp/diff_new_pack.WcRmE4/_new  2021-10-29 22:34:50.123695767 +0200
@@ -19,7 +19,7 @@
 Name:           libyui
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
@@ -114,6 +114,12 @@
 install -m0644 ../../COPYING* $RPM_BUILD_ROOT/%{_docdir}/%{bin_name}/
 popd
 
+%check
+pushd %{name}
+cd build
+make test ARGS=-V
+popd
+
 %post -n %{bin_name} -p /sbin/ldconfig
 %postun -n %{bin_name} -p /sbin/ldconfig
 

++++++ libyui-4.2.20.tar.bz2 -> libyui-4.2.21.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/VERSION.cmake 
new/libyui-4.2.21/VERSION.cmake
--- old/libyui-4.2.20/VERSION.cmake     2021-10-21 14:06:23.000000000 +0200
+++ new/libyui-4.2.21/VERSION.cmake     2021-10-26 16:03:05.000000000 +0200
@@ -1,6 +1,6 @@
 SET( VERSION_MAJOR "4")
 SET( VERSION_MINOR "2" )
-SET( VERSION_PATCH "20" )
+SET( VERSION_PATCH "21" )
 SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
 
 SET( SONAME_MAJOR "15" )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui/CMakeLists.txt 
new/libyui-4.2.21/libyui/CMakeLists.txt
--- old/libyui-4.2.20/libyui/CMakeLists.txt     2021-10-21 14:06:23.000000000 
+0200
+++ new/libyui-4.2.21/libyui/CMakeLists.txt     2021-10-26 16:03:05.000000000 
+0200
@@ -72,6 +72,9 @@
 
 # Build and install auxiliary files first so this doesn't scroll away any 
important messages
 
+enable_testing()
+add_subdirectory( tests )
+
 if ( LEGACY_BUILDTOOLS )
   add_subdirectory( legacy-buildtools )
 endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui/tests/CMakeLists.txt 
new/libyui-4.2.21/libyui/tests/CMakeLists.txt
--- old/libyui-4.2.20/libyui/tests/CMakeLists.txt       2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/libyui/tests/CMakeLists.txt       2021-10-26 
16:03:05.000000000 +0200
@@ -1 +1,28 @@
-PROCESS_TESTS()
+# To run the tests, use
+#   make test
+# or
+#   make test ARGS=-VV
+# see also
+#   man ctest
+
+set(BASELIB "yui")
+
+find_package(Boost COMPONENTS unit_test_framework REQUIRED)
+include_directories(${Boost_INCLUDE_DIRS} ../src ${CMAKE_INCLUDE_PATH} )
+add_definitions(-DBOOST_TEST_DYN_LINK 
-DTESTS_SRC_DIR="${CMAKE_CURRENT_SOURCE_DIR}" )
+
+link_libraries(
+  ${BASELIB}
+  ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}
+)
+link_directories(BEFORE PUBLIC ../build/src)
+
+file(GLOB unit_tests "*_test.cc")
+foreach(unit_test ${unit_tests})
+  get_filename_component(unit_test_bin ${unit_test} NAME_WE)
+
+  add_executable(${unit_test_bin} ${unit_test})
+  add_dependencies(${unit_test_bin} "lib${BASELIB}")
+
+  add_test(NAME ${unit_test_bin} COMMAND ${unit_test_bin})
+endforeach(unit_test)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui/tests/README.md 
new/libyui-4.2.21/libyui/tests/README.md
--- old/libyui-4.2.20/libyui/tests/README.md    2021-10-21 14:06:23.000000000 
+0200
+++ new/libyui-4.2.21/libyui/tests/README.md    2021-10-26 16:03:05.000000000 
+0200
@@ -3,9 +3,7 @@
 
 This directory contains unit tests.
 
-The unit tests are enabled by default, if you want to disable them (not
-recommended!) then use the `-DENABLE_TESTS=OFF` cmake option.
-
+They are always compiled, unlike with `legacy-buildtools`.
 
 ## Writing Tests
 
@@ -20,9 +18,25 @@
 then directly run the test binary from `build/tests` directory, it will print
 the details on the console.
 
+There are two levels of verbosity options:
+
+**CMake/CTest**: `make test ARGS=-V` will run `ctest -V` which will display
+
+1. test harness internals (less useful)
+2. the full output of the test programs (useful)
+
+**Boost.Test**: `export BOOST_TEST_COLOR_OUTPUT=1 BOOST_TEST_LOG_LEVEL=all`
+will make the test programs report progress on the individual test assertions.
+Normally you don't need it, failures are always reported.
+
+For the full list of Boost.Test environment variables and corresponding CLI
+options, run a `*_test` program with `--help`.
 
 ## Code Coverage
 
+FIXME: This has not been ported from `legacy-buildtools` yet. See
+<https://github.com/libyui/libyui-old/pull/129>
+
 The code coverage reporting can be enabled using the 
`-DENABLE_CODE_COVERAGE=ON`
 cmake option or using the `make -f Makefile.cvs COVERAGE=1` initial call.
 The `lcov` package needs to be installed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui-ncurses/.editorconfig 
new/libyui-4.2.21/libyui-ncurses/.editorconfig
--- old/libyui-4.2.20/libyui-ncurses/.editorconfig      1970-01-01 
01:00:00.000000000 +0100
+++ new/libyui-4.2.21/libyui-ncurses/.editorconfig      2021-10-26 
16:03:05.000000000 +0200
@@ -0,0 +1,18 @@
+# https://EditorConfig.org  -*- ini -*-
+# Copyright (c) 2020 SUSE LLC
+# MIT license
+#
+# This is a unified way to tell all your editors
+# about the proper indentation style in this repo.
+#
+# Emacs:   https://github.com/editorconfig/editorconfig-emacs#readme
+# Vim:     https://github.com/editorconfig/editorconfig-vim#readme
+# VS Code: 
https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
+
+# don't continue looking in upper directories, this is the top level
+root = true
+
+[*.{h,cc}]
+indent_style = tab
+indent_size = 4
+tab_width = 8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui-ncurses/CMakeLists.txt 
new/libyui-4.2.21/libyui-ncurses/CMakeLists.txt
--- old/libyui-4.2.20/libyui-ncurses/CMakeLists.txt     2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/libyui-ncurses/CMakeLists.txt     2021-10-26 
16:03:05.000000000 +0200
@@ -68,6 +68,9 @@
 # Descend into subdirectories
 #
 
+enable_testing()
+add_subdirectory( tests )
+
 # Build and install auxiliary files first so this doesn't scroll away any 
important messages
 
 if ( BUILD_PKGCONFIG )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui-ncurses/src/NCTableSort.cc 
new/libyui-4.2.21/libyui-ncurses/src/NCTableSort.cc
--- old/libyui-4.2.20/libyui-ncurses/src/NCTableSort.cc 2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/libyui-ncurses/src/NCTableSort.cc 2021-10-26 
16:03:05.000000000 +0200
@@ -78,8 +78,11 @@
 {
     try
     {
-       *ok = true;
-       return std::stoll( str );
+       size_t sz;
+       long long val = std::stoll( str, &sz );
+       *ok = sz == str.size();
+
+       return val;
     }
     catch (...)
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui-ncurses/src/NCTableSort.h 
new/libyui-4.2.21/libyui-ncurses/src/NCTableSort.h
--- old/libyui-4.2.20/libyui-ncurses/src/NCTableSort.h  2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/libyui-ncurses/src/NCTableSort.h  2021-10-26 
16:03:05.000000000 +0200
@@ -74,7 +74,7 @@
 public:
     virtual void sort( YItemIterator begin, YItemIterator end ) override;
 
-private:
+protected:
 
     /**
      * Comparison functor.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui-ncurses/tests/CMakeLists.txt 
new/libyui-4.2.21/libyui-ncurses/tests/CMakeLists.txt
--- old/libyui-4.2.20/libyui-ncurses/tests/CMakeLists.txt       1970-01-01 
01:00:00.000000000 +0100
+++ new/libyui-4.2.21/libyui-ncurses/tests/CMakeLists.txt       2021-10-26 
16:03:05.000000000 +0200
@@ -0,0 +1,42 @@
+# To run the tests, use
+#   make test
+# or
+#   make test ARGS=-VV
+# see also
+#   man ctest
+
+# The tests are using the Boost.Test framework.
+# Run a test binary with --help for all the options.
+# To see the individual checks:
+#
+#    BOOST_TEST_COLOR_OUTPUT=1 BOOST_TEST_LOG_LEVEL=all make test ARGS=-V
+
+set(BASELIB "yui-ncurses")
+
+find_package(Boost COMPONENTS unit_test_framework REQUIRED)
+include_directories(${Boost_INCLUDE_DIRS} ../src ${CMAKE_INCLUDE_PATH} )
+add_definitions(-DBOOST_TEST_DYN_LINK 
-DTESTS_SRC_DIR="${CMAKE_CURRENT_SOURCE_DIR}" )
+
+set( LOCAL_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/include )
+
+# Symlink ../../libyui/src to build/src/include/yui
+# so the headers there can be included as <yui/YFoo.h>
+file( MAKE_DIRECTORY ${LOCAL_INCLUDE_DIR} )
+file( CREATE_LINK ${CMAKE_CURRENT_SOURCE_DIR}/../../libyui/src 
${LOCAL_INCLUDE_DIR}/yui SYMBOLIC )
+
+link_libraries(
+  ${BASELIB}
+  ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}
+)
+link_directories(BEFORE PUBLIC ../build/src)
+include_directories(BEFORE PUBLIC ${LOCAL_INCLUDE_DIR} )
+
+file(GLOB unit_tests "*_test.cc")
+foreach(unit_test ${unit_tests})
+  get_filename_component(unit_test_bin ${unit_test} NAME_WE)
+
+  add_executable(${unit_test_bin} ${unit_test})
+  add_dependencies(${unit_test_bin} "lib${BASELIB}")
+
+  add_test(NAME ${unit_test_bin} COMMAND ${unit_test_bin})
+endforeach(unit_test)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libyui-4.2.20/libyui-ncurses/tests/NCTableSort_test.cc 
new/libyui-4.2.21/libyui-ncurses/tests/NCTableSort_test.cc
--- old/libyui-4.2.20/libyui-ncurses/tests/NCTableSort_test.cc  1970-01-01 
01:00:00.000000000 +0100
+++ new/libyui-4.2.21/libyui-ncurses/tests/NCTableSort_test.cc  2021-10-26 
16:03:05.000000000 +0200
@@ -0,0 +1,54 @@
+/*
+  Copyright (C) 2021 SUSE LLC
+
+  This library is free software; you can redistribute it and/or modify
+  it under the terms of the GNU Lesser General Public License as
+  published by the Free Software Foundation; either version 2.1 of the
+  License, or (at your option) version 3.0 of the License. This library
+  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 Lesser General Public
+  License for more details. You should have received a copy of the GNU
+  Lesser General Public License along with this library; if not, write
+  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+  Floor, Boston, MA 02110-1301 USA
+*/
+
+#define BOOST_TEST_MODULE NCTableSort_tests
+#include <boost/test/unit_test.hpp>
+
+#include "NCTableSort.h"
+
+// To test a protected method, derive a child that makes it public.
+// But its _class_ is protected too, so expose the class first...
+class NCTableSortDefaultExposed : public NCTableSortDefault
+{
+public:
+    using NCTableSortDefault::Compare;
+};
+
+// ... and now expose the method
+class CompareExposed : public NCTableSortDefaultExposed::Compare {
+public:
+    CompareExposed(int sort_column, bool reverse)
+       : Compare(sort_column, reverse)
+        {}
+    using Compare::toNumber;
+};
+
+BOOST_AUTO_TEST_CASE(toNumber)
+{
+    static const int sort_column = 0;
+    static const bool reverse = false;
+    CompareExposed cmp(sort_column, reverse);
+    bool ok;
+    
+    BOOST_CHECK_EQUAL(cmp.toNumber(L"1", &ok), 1LL);
+    BOOST_CHECK_EQUAL(ok, true);
+
+    BOOST_CHECK_EQUAL(cmp.toNumber(L"1half", &ok), 1LL);
+    BOOST_CHECK_EQUAL(ok, false);
+
+    BOOST_CHECK_EQUAL(cmp.toNumber(L"half", &ok), 0LL);
+    BOOST_CHECK_EQUAL(ok, false);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/libyui-ncurses/tests/README.md 
new/libyui-4.2.21/libyui-ncurses/tests/README.md
--- old/libyui-4.2.20/libyui-ncurses/tests/README.md    1970-01-01 
01:00:00.000000000 +0100
+++ new/libyui-4.2.21/libyui-ncurses/tests/README.md    2021-10-26 
16:03:05.000000000 +0200
@@ -0,0 +1,2 @@
+See [libyui/tests/README.md](../../libyui/tests/README.md)
+for notes about writing and running the tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-bindings.spec 
new/libyui-4.2.21/package/libyui-bindings.spec
--- old/libyui-4.2.20/package/libyui-bindings.spec      2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/package/libyui-bindings.spec      2021-10-26 
16:03:05.000000000 +0200
@@ -20,7 +20,7 @@
 Name:           libyui-bindings
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 Summary:        Bindings for libyui
 License:        LGPL-2.1-only OR LGPL-3.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-ncurses-pkg.spec 
new/libyui-4.2.21/package/libyui-ncurses-pkg.spec
--- old/libyui-4.2.20/package/libyui-ncurses-pkg.spec   2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/package/libyui-ncurses-pkg.spec   2021-10-26 
16:03:05.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses-pkg
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-ncurses-rest-api.spec 
new/libyui-4.2.21/package/libyui-ncurses-rest-api.spec
--- old/libyui-4.2.20/package/libyui-ncurses-rest-api.spec      2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/package/libyui-ncurses-rest-api.spec      2021-10-26 
16:03:05.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses-rest-api
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-ncurses.spec 
new/libyui-4.2.21/package/libyui-ncurses.spec
--- old/libyui-4.2.20/package/libyui-ncurses.spec       2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/package/libyui-ncurses.spec       2021-10-26 
16:03:05.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-ncurses
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
@@ -28,6 +28,7 @@
 BuildRequires:  boost-devel
 BuildRequires:  cmake >= 3.10
 BuildRequires:  gcc-c++
+BuildRequires:  libboost_test-devel
 BuildRequires:  libyui-devel >= %{version}
 BuildRequires:  ncurses-devel
 
@@ -121,6 +122,12 @@
 install -m0644 ../../COPYING* $RPM_BUILD_ROOT/%{_docdir}/%{bin_name}/
 popd
 
+%check
+pushd %{name}
+cd build
+make test ARGS=-V
+popd
+
 %post -n %{bin_name} -p /sbin/ldconfig
 %postun -n %{bin_name} -p /sbin/ldconfig
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-qt-graph.spec 
new/libyui-4.2.21/package/libyui-qt-graph.spec
--- old/libyui-4.2.20/package/libyui-qt-graph.spec      2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/package/libyui-qt-graph.spec      2021-10-26 
16:03:05.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-graph
 
 # DO NOT manually bump the version here; instead, use   rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-qt-pkg.spec 
new/libyui-4.2.21/package/libyui-qt-pkg.spec
--- old/libyui-4.2.20/package/libyui-qt-pkg.spec        2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/package/libyui-qt-pkg.spec        2021-10-26 
16:03:05.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-pkg
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-qt-rest-api.spec 
new/libyui-4.2.21/package/libyui-qt-rest-api.spec
--- old/libyui-4.2.20/package/libyui-qt-rest-api.spec   2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/package/libyui-qt-rest-api.spec   2021-10-26 
16:03:05.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt-rest-api
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-qt.spec 
new/libyui-4.2.21/package/libyui-qt.spec
--- old/libyui-4.2.20/package/libyui-qt.spec    2021-10-21 14:06:23.000000000 
+0200
+++ new/libyui-4.2.21/package/libyui-qt.spec    2021-10-26 16:03:05.000000000 
+0200
@@ -19,7 +19,7 @@
 Name:           libyui-qt
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui-rest-api.spec 
new/libyui-4.2.21/package/libyui-rest-api.spec
--- old/libyui-4.2.20/package/libyui-rest-api.spec      2021-10-21 
14:06:23.000000000 +0200
+++ new/libyui-4.2.21/package/libyui-rest-api.spec      2021-10-26 
16:03:05.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           libyui-rest-api
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui.changes 
new/libyui-4.2.21/package/libyui.changes
--- old/libyui-4.2.20/package/libyui.changes    2021-10-21 14:06:23.000000000 
+0200
+++ new/libyui-4.2.21/package/libyui.changes    2021-10-26 16:03:05.000000000 
+0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Thu Oct 21 13:39:46 UTC 2021 - Martin Vidner <mvid...@suse.com>
+
+- ncurses: Fix sorting tables by strings (jsc#SLE-17782)
+- 4.2.21
+
+-------------------------------------------------------------------
 Tue Oct 19 13:58:14 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz>
 
 - Use the C++17 standard in the *-pkg plugins (libzypp uses that
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/package/libyui.spec 
new/libyui-4.2.21/package/libyui.spec
--- old/libyui-4.2.20/package/libyui.spec       2021-10-21 14:06:23.000000000 
+0200
+++ new/libyui-4.2.21/package/libyui.spec       2021-10-26 16:03:05.000000000 
+0200
@@ -19,7 +19,7 @@
 Name:           libyui
 
 # DO NOT manually bump the version here; instead, use rake version:bump
-Version:        4.2.20
+Version:        4.2.21
 Release:        0
 
 %define         so_version 15
@@ -114,6 +114,12 @@
 install -m0644 ../../COPYING* $RPM_BUILD_ROOT/%{_docdir}/%{bin_name}/
 popd
 
+%check
+pushd %{name}
+cd build
+make test ARGS=-V
+popd
+
 %post -n %{bin_name} -p /sbin/ldconfig
 %postun -n %{bin_name} -p /sbin/ldconfig
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-4.2.20/scripts/ci-non-root 
new/libyui-4.2.21/scripts/ci-non-root
--- old/libyui-4.2.20/scripts/ci-non-root       2021-10-21 14:06:23.000000000 
+0200
+++ new/libyui-4.2.21/scripts/ci-non-root       2021-10-26 16:03:05.000000000 
+0200
@@ -7,7 +7,7 @@
 echo "HOME is $HOME"
 
 # This is supposed to run in a container, making sure we're not root
-MYUSER=myuser
+: ${MYUSER=myuser}
 if [ $(id -u -n) != "$MYUSER" ]; then
     useradd -m "$MYUSER"
     chown -R "$MYUSER": .
@@ -19,7 +19,7 @@
 build_and_install() {
     pushd "$1"
 
-    mkdir build
+    mkdir -p build
     cd build
     cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$HOME/pfx ../
     make -j$(nproc)

Reply via email to