Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libsysstat for openSUSE:Factory checked in at 2024-11-11 13:46:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsysstat (Old) and /work/SRC/openSUSE:Factory/.libsysstat.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsysstat" Mon Nov 11 13:46:12 2024 rev:2 rq:1223241 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libsysstat/libsysstat.changes 2024-06-05 17:38:57.658593612 +0200 +++ /work/SRC/openSUSE:Factory/.libsysstat.new.2017/libsysstat.changes 2024-11-11 13:46:39.559164023 +0100 @@ -1,0 +2,10 @@ +Wed Nov 6 21:19:23 UTC 2024 - ÐндÑей ÐлÑпов <[email protected]> + +- Update to version 1.1.0: + * Pre-release changes + * Drop deprecated Q_ENUMS macro + * Don't mix const and non const iterators + * Pre-release changes + * Use QString::first and QString::sliced + +------------------------------------------------------------------- Old: ---- libsysstat-1.0.0.tar.xz libsysstat-1.0.0.tar.xz.asc New: ---- libsysstat-1.1.0.tar.xz libsysstat-1.1.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsysstat.spec ++++++ --- /var/tmp/diff_new_pack.jWMu4g/_old 2024-11-11 13:46:40.107186975 +0100 +++ /var/tmp/diff_new_pack.jWMu4g/_new 2024-11-11 13:46:40.111187142 +0100 @@ -18,7 +18,7 @@ %define sover 1 Name: libsysstat -Version: 1.0.0 +Version: 1.1.0 Release: 0 Summary: Library used to query system info and statistics License: LGPL-2.1-or-later @@ -30,7 +30,7 @@ BuildRequires: cmake >= 3.18.0 BuildRequires: gcc-c++ BuildRequires: cmake(Qt6LinguistTools) >= 6.6 -BuildRequires: cmake(lxqt2-build-tools) >= 2.0.0 +BuildRequires: cmake(lxqt2-build-tools) >= 2.1.0 %description libsysstat is a library to query system information like CPU and memory ++++++ libsysstat-1.0.0.tar.xz -> libsysstat-1.1.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-1.0.0/CHANGELOG new/libsysstat-1.1.0/CHANGELOG --- old/libsysstat-1.0.0/CHANGELOG 2024-04-17 12:57:59.000000000 +0200 +++ new/libsysstat-1.1.0/CHANGELOG 2024-11-05 06:21:29.000000000 +0100 @@ -1,3 +1,8 @@ +libsysstat-1.1.0 / 2024-11-05 +============================= + * Don't mix const and non const iterators. + * Drop deprecated `Q_ENUMS` macro. + libsysstat-1.0.0 / 2024-04-17 ============================= * Ported to Qt6. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-1.0.0/CMakeLists.txt new/libsysstat-1.1.0/CMakeLists.txt --- old/libsysstat-1.0.0/CMakeLists.txt 2024-04-17 12:57:59.000000000 +0200 +++ new/libsysstat-1.1.0/CMakeLists.txt 2024-11-05 06:21:29.000000000 +0100 @@ -7,11 +7,11 @@ project(libsysstat) set(MAJOR_VERSION 1) -set(MINOR_VERSION 0) +set(MINOR_VERSION 1) set(PATCH_VERSION 0) set(SYSSTAT_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}") -set(LXQTBT_MINIMUM_VERSION "2.0.0") +set(LXQTBT_MINIMUM_VERSION "2.1.0") set(QT_MINIMUM_VERSION "6.6.0") # additional cmake files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-1.0.0/cpustat.h new/libsysstat-1.1.0/cpustat.h --- old/libsysstat-1.0.0/cpustat.h 2024-04-17 12:57:59.000000000 +0200 +++ new/libsysstat-1.1.0/cpustat.h 2024-11-05 06:21:29.000000000 +0100 @@ -41,15 +41,13 @@ { Q_OBJECT - Q_ENUMS(Monitoring) - -public: - enum Monitoring { LoadAndFrequency, LoadOnly, FrequencyOnly }; - public: CpuStat(QObject *parent = nullptr); ~CpuStat() override; + enum Monitoring { LoadAndFrequency, LoadOnly, FrequencyOnly }; + Q_ENUM(Monitoring) + void updateSources(); uint minFreq(const QString &source) const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-1.0.0/netstat.cpp new/libsysstat-1.1.0/netstat.cpp --- old/libsysstat-1.0.0/netstat.cpp 2024-04-17 12:57:59.000000000 +0200 +++ new/libsysstat-1.1.0/netstat.cpp 2024-11-05 06:21:29.000000000 +0100 @@ -40,7 +40,7 @@ QStringList rows(readAllFile("/proc/net/dev").split(QLatin1Char('\n'), Qt::SkipEmptyParts)); - rows.erase(rows.begin(), rows.begin() + 2); + rows.erase(rows.cbegin(), rows.cbegin() + 2); for (const QString &row : std::as_const(rows)) { @@ -70,7 +70,7 @@ int receivedIndex = namesR.indexOf(QLatin1String("bytes")); int transmittedIndex = namesR.size() + namesT.indexOf(QLatin1String("bytes")); - rows.erase(rows.begin(), rows.begin() + 2); + rows.erase(rows.cbegin(), rows.cbegin() + 2); for (const QString &row : std::as_const(rows)) {
