Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package powerstat for openSUSE:Factory checked in at 2023-06-13 16:09:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerstat (Old) and /work/SRC/openSUSE:Factory/.powerstat.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerstat" Tue Jun 13 16:09:40 2023 rev:16 rq:1092668 version:0.03.03 Changes: -------- --- /work/SRC/openSUSE:Factory/powerstat/powerstat.changes 2023-04-21 14:17:17.606675517 +0200 +++ /work/SRC/openSUSE:Factory/.powerstat.new.15902/powerstat.changes 2023-06-13 16:09:43.362960691 +0200 @@ -1,0 +2,7 @@ +Thu Jun 8 11:08:33 UTC 2023 - Martin Pluskal <[email protected]> + +- Update to version 0.03.03: + * Don't fail if process netlink listen fails + * Remove powercap debug + +------------------------------------------------------------------- Old: ---- V0.03.02.tar.gz New: ---- V0.03.03.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerstat.spec ++++++ --- /var/tmp/diff_new_pack.5Z1tz4/_old 2023-06-13 16:09:43.830963452 +0200 +++ /var/tmp/diff_new_pack.5Z1tz4/_new 2023-06-13 16:09:43.838963499 +0200 @@ -18,11 +18,10 @@ Name: powerstat -Version: 0.03.02 +Version: 0.03.03 Release: 0 Summary: Laptop power measuring tool License: GPL-2.0-only -Group: System/Monitoring URL: https://github.com/ColinIanKing/powerstat Source: https://github.com/ColinIanKing/powerstat/archive/refs/tags/V%{version}.tar.gz @@ -34,7 +33,6 @@ %package bash-completion Summary: Bash Completion for %{name} -Group: System/Benchmark BuildRequires: bash-completion Requires: %{name} = %{version} Requires: bash-completion @@ -45,7 +43,7 @@ Bash completion script for %{name}. %prep -%setup -q +%autosetup %build export CFLAGS="%{optflags}" ++++++ V0.03.02.tar.gz -> V0.03.03.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerstat-0.03.02/Makefile new/powerstat-0.03.03/Makefile --- old/powerstat-0.03.02/Makefile 2023-03-24 11:40:32.000000000 +0100 +++ new/powerstat-0.03.03/Makefile 2023-04-24 18:32:47.000000000 +0200 @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.03.02 +VERSION=0.03.03 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerstat-0.03.02/debian/changelog new/powerstat-0.03.03/debian/changelog --- old/powerstat-0.03.02/debian/changelog 2023-03-24 11:40:32.000000000 +0100 +++ new/powerstat-0.03.03/debian/changelog 2023-04-24 18:32:47.000000000 +0200 @@ -1,3 +1,11 @@ +powerstat (0.03.03-1) unstable; urgency=medium + + * Makefile:: bump version + * Don't fail if process netlink listen fails + * Remove powercap debug + + -- Colin Ian King <[email protected]> Mon, 24 Apr 2023 17:32:45 +0100 + powerstat (0.03.02-1) unstable; urgency=medium * Makefile: bump version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerstat-0.03.02/powerstat.c new/powerstat-0.03.03/powerstat.c --- old/powerstat-0.03.02/powerstat.c 2023-03-24 11:40:32.000000000 +0100 +++ new/powerstat-0.03.03/powerstat.c 2023-04-24 18:32:47.000000000 +0200 @@ -1746,8 +1746,6 @@ FILE *fp; rapl_info_t *rapl; - printf("powercap: %s\n", entry->d_name); - /* Ignore non Intel RAPL interfaces */ if (strncmp(entry->d_name, "intel-rapl", 10)) continue; @@ -3149,8 +3147,14 @@ } else { proc_info_load(); - if (netlink_listen(sock) < 0) - goto abort_sock; + if (netlink_listen(sock) < 0) { + (void)printf("Cannot show process activity: " + "netlink listen failed, errno=%d (%s).\n", + errno, strerror(errno)); + opts &= ~OPTS_USE_NETLINK; + (void)close(sock); + sock = -1; + } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/powerstat-0.03.02/snap/snapcraft.yaml new/powerstat-0.03.03/snap/snapcraft.yaml --- old/powerstat-0.03.02/snap/snapcraft.yaml 2023-03-24 11:40:32.000000000 +0100 +++ new/powerstat-0.03.03/snap/snapcraft.yaml 2023-04-24 18:32:47.000000000 +0200 @@ -5,7 +5,7 @@ type: app grade: stable assumes: [snapd2.45] -base: core20 +base: core22 adopt-info: powerstat architectures: @@ -19,7 +19,8 @@ parts: powerstat: plugin: make - source: git://kernel.ubuntu.com/cking/powerstat + source: https://github.com/ColinIanKing/powerstat + source-type: git override-pull: | snapcraftctl pull description="$(git describe HEAD --tags)"
