Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsysstat-qt5 for openSUSE:Factory 
checked in at 2021-11-09 23:54:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsysstat-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.libsysstat-qt5.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsysstat-qt5"

Tue Nov  9 23:54:21 2021 rev:12 rq:930098 version:0.4.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsysstat-qt5/libsysstat-qt5.changes    
2021-04-17 00:02:04.717623730 +0200
+++ /work/SRC/openSUSE:Factory/.libsysstat-qt5.new.1890/libsysstat-qt5.changes  
2021-11-09 23:54:37.683953165 +0100
@@ -1,0 +2,6 @@
+Mon Nov  8 09:38:21 UTC 2021 - Michael Vetter <mvet...@suse.com>
+
+- Update to 0.4.6:
+  * Bumped minimum required Qt version to 5.15 and dropped dead code.
+
+-------------------------------------------------------------------

Old:
----
  libsysstat-0.4.5.tar.xz
  libsysstat-0.4.5.tar.xz.asc

New:
----
  libsysstat-0.4.6.tar.xz
  libsysstat-0.4.6.tar.xz.asc

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

Other differences:
------------------
++++++ libsysstat-qt5.spec ++++++
--- /var/tmp/diff_new_pack.jSiA32/_old  2021-11-09 23:54:38.243953451 +0100
+++ /var/tmp/diff_new_pack.jSiA32/_new  2021-11-09 23:54:38.247953452 +0100
@@ -18,7 +18,7 @@
 
 %define         _name libsysstat
 Name:           libsysstat-qt5
-Version:        0.4.5
+Version:        0.4.6
 Release:        0
 Summary:        Library used to query system info and statistics
 License:        LGPL-2.1-or-later
@@ -29,9 +29,9 @@
 Source2:        libsysstat-qt5.keyring
 BuildRequires:  cmake >= 3.1.0
 BuildRequires:  gcc-c++
-BuildRequires:  lxqt-build-tools-devel >= 0.9.0
+BuildRequires:  lxqt-build-tools-devel >= 0.10.0
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(Qt5Core) >= 5.12.0
+BuildRequires:  pkgconfig(Qt5Core) >= 5.15.0
 
 %description
 Library used to query system info and statistics.

++++++ libsysstat-0.4.5.tar.xz -> libsysstat-0.4.6.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsysstat-0.4.5/AUTHORS new/libsysstat-0.4.6/AUTHORS
--- old/libsysstat-0.4.5/AUTHORS        2021-04-07 08:58:34.000000000 +0200
+++ new/libsysstat-0.4.6/AUTHORS        2021-11-05 11:06:40.000000000 +0100
@@ -1,5 +1,5 @@
 Upstream Authors:
-    LXQt team: https://lxqt.org
+    LXQt team: https://lxqt-project.org
     Razor team: http://razor-qt.org
     Kuzma Shapran <kuzma.shap...@gmail.com>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsysstat-0.4.5/CHANGELOG 
new/libsysstat-0.4.6/CHANGELOG
--- old/libsysstat-0.4.5/CHANGELOG      2021-04-07 08:58:34.000000000 +0200
+++ new/libsysstat-0.4.6/CHANGELOG      2021-11-05 11:06:40.000000000 +0100
@@ -1,3 +1,9 @@
+libsysstat-0.4.6 / 2021-11-04
+=============================
+ * Updated AUTHORS.
+ * Bumped minimum required Qt version to 5.15.
+ * Dropped Qt < 15 conditional dead code.
+
 libsysstat-0.4.5 / 2021-04-15
 =============================
   * Initialized some variables.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsysstat-0.4.5/CMakeLists.txt 
new/libsysstat-0.4.6/CMakeLists.txt
--- old/libsysstat-0.4.5/CMakeLists.txt 2021-04-07 08:58:34.000000000 +0200
+++ new/libsysstat-0.4.6/CMakeLists.txt 2021-11-05 11:06:40.000000000 +0100
@@ -8,11 +8,11 @@
 
 set(MAJOR_VERSION 0)
 set(MINOR_VERSION 4)
-set(PATCH_VERSION 5)
+set(PATCH_VERSION 6)
 set(SYSSTAT_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")
 
-set(LXQTBT_MINIMUM_VERSION "0.9.0")
-set(QT_MINIMUM_VERSION "5.12.0")
+set(LXQTBT_MINIMUM_VERSION "0.10.0")
+set(QT_MINIMUM_VERSION "5.15.0")
 
 # additional cmake files
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsysstat-0.4.5/cpustat.cpp 
new/libsysstat-0.4.6/cpustat.cpp
--- old/libsysstat-0.4.5/cpustat.cpp    2021-04-07 08:58:34.000000000 +0200
+++ new/libsysstat-0.4.6/cpustat.cpp    2021-11-05 11:06:40.000000000 +0100
@@ -61,18 +61,10 @@
 void CpuStatPrivate::updateSources()
 {
     mSources.clear();
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
     const QStringList rows = 
readAllFile("/proc/stat").split(QLatin1Char('\n'), Qt::SkipEmptyParts);
-#else
-    const QStringList rows = 
readAllFile("/proc/stat").split(QLatin1Char('\n'), QString::SkipEmptyParts);
-#endif
     for (const QString &row : rows)
     {
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
         QStringList tokens = row.split(QLatin1Char(' '), Qt::SkipEmptyParts);
-#else
-        QStringList tokens = row.split(QLatin1Char(' '), 
QString::SkipEmptyParts);
-#endif
         if( (tokens.size() < 5)
         || (!tokens[0].startsWith(QLatin1String("cpu"))) )
             continue;
@@ -84,11 +76,7 @@
 
     bool ok = false;
 
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
     const QStringList ranges = 
readAllFile("/sys/devices/system/cpu/online").split(QLatin1Char(','), 
Qt::SkipEmptyParts);
-#else
-    const QStringList ranges = 
readAllFile("/sys/devices/system/cpu/online").split(QLatin1Char(','), 
QString::SkipEmptyParts);
-#endif
     for (const QString &range : ranges)
     {
         int dash = range.indexOf(QLatin1Char('-'));
@@ -139,11 +127,7 @@
     if ( (mMonitoring == CpuStat::LoadOnly)
       || (mMonitoring == CpuStat::LoadAndFrequency) )
     {
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
         const QStringList rows = 
readAllFile("/proc/stat").split(QLatin1Char('\n'), Qt::SkipEmptyParts);
-#else
-        const QStringList rows = 
readAllFile("/proc/stat").split(QLatin1Char('\n'), QString::SkipEmptyParts);
-#endif
         for (const QString &row : rows)
         {
             if (!row.startsWith(QLatin1String("cpu")))
@@ -151,11 +135,7 @@
 
             if (row.startsWith(mSource + QLatin1Char(' ')))
             {
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
                 QStringList tokens = row.split(QLatin1Char(' '), 
Qt::SkipEmptyParts);
-#else
-                QStringList tokens = row.split(QLatin1Char(' '), 
QString::SkipEmptyParts);
-#endif
                 if (tokens.size() < 5)
                     continue;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsysstat-0.4.5/memstat.cpp 
new/libsysstat-0.4.6/memstat.cpp
--- old/libsysstat-0.4.5/memstat.cpp    2021-04-07 08:58:34.000000000 +0200
+++ new/libsysstat-0.4.6/memstat.cpp    2021-11-05 11:06:40.000000000 +0100
@@ -51,18 +51,10 @@
     qulonglong swapTotal = 0;
     qulonglong swapFree = 0;
 
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
     const QStringList rows = 
readAllFile("/proc/meminfo").split(QLatin1Char('\n'), Qt::SkipEmptyParts);
-#else
-    const QStringList rows = 
readAllFile("/proc/meminfo").split(QLatin1Char('\n'), QString::SkipEmptyParts);
-#endif
     for (const QString &row : rows)
     {
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
         QStringList tokens = row.split(QLatin1Char(' '), Qt::SkipEmptyParts);
-#else
-        QStringList tokens = row.split(QLatin1Char(' '), 
QString::SkipEmptyParts);
-#endif
         if (tokens.size() != 3)
             continue;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsysstat-0.4.5/netstat.cpp 
new/libsysstat-0.4.6/netstat.cpp
--- old/libsysstat-0.4.5/netstat.cpp    2021-04-07 08:58:34.000000000 +0200
+++ new/libsysstat-0.4.6/netstat.cpp    2021-11-05 11:06:40.000000000 +0100
@@ -38,21 +38,13 @@
     connect(mTimer, SIGNAL(timeout()), SLOT(timeout()));
 
 
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
     QStringList rows(readAllFile("/proc/net/dev").split(QLatin1Char('\n'), 
Qt::SkipEmptyParts));
-#else
-    QStringList rows(readAllFile("/proc/net/dev").split(QLatin1Char('\n'), 
QString::SkipEmptyParts));
-#endif
 
     rows.erase(rows.begin(), rows.begin() + 2);
 
     for (const QString &row : qAsConst(rows))
     {
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
         QStringList tokens = row.split(QLatin1Char(':'), Qt::SkipEmptyParts);
-#else
-        QStringList tokens = row.split(QLatin1Char(':'), 
QString::SkipEmptyParts);
-#endif
         if (tokens.size() != 2)
             continue;
 
@@ -64,11 +56,7 @@
 
 void NetStatPrivate::timeout()
 {
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
     QStringList rows(readAllFile("/proc/net/dev").split(QLatin1Char('\n'), 
Qt::SkipEmptyParts));
-#else
-    QStringList rows(readAllFile("/proc/net/dev").split(QLatin1Char('\n'), 
QString::SkipEmptyParts));
-#endif
 
 
     if (rows.size() < 2)
@@ -77,13 +65,8 @@
     QStringList names = rows[1].split(QLatin1Char('|'));
     if (names.size() != 3)
         return;
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
     QStringList namesR = names[1].split(QLatin1Char(' '), Qt::SkipEmptyParts);
     QStringList namesT = names[2].split(QLatin1Char(' '), Qt::SkipEmptyParts);
-#else
-    QStringList namesR = names[1].split(QLatin1Char(' '), 
QString::SkipEmptyParts);
-    QStringList namesT = names[2].split(QLatin1Char(' '), 
QString::SkipEmptyParts);
-#endif
     int receivedIndex    =                 
namesR.indexOf(QLatin1String("bytes"));
     int transmittedIndex = namesR.size() + 
namesT.indexOf(QLatin1String("bytes"));
 
@@ -91,21 +74,13 @@
 
     for (const QString &row : qAsConst(rows))
     {
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
         QStringList tokens = row.split(QLatin1Char(':'), Qt::SkipEmptyParts);
-#else
-        QStringList tokens = row.split(QLatin1Char(':'), 
QString::SkipEmptyParts);
-#endif
         if (tokens.size() != 2)
             continue;
 
         QString interfaceName = tokens[0].trimmed();
 
-#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))
         QStringList data = tokens[1].split(QLatin1Char(' '), 
Qt::SkipEmptyParts);
-#else
-        QStringList data = tokens[1].split(QLatin1Char(' '), 
QString::SkipEmptyParts);
-#endif
         if (data.size() < transmittedIndex)
             continue;
 

Reply via email to