public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcp] f45: Update to pcp-7.2.3
@ 2026-11-30 14:08 Jan Kurik
  0 siblings, 0 replies; only message in thread
From: Jan Kurik @ 2026-11-30 14:08 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pcp
Branch : f45
Commit : be77ebb607136d9e3299376e1fe6267786a8ea32
Author : Jan Kurik <jkurik@redhat.com>
Date   : 2026-11-30T15:08:31+01:00
Stats  : +67/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/pcp/c/be77ebb607136d9e3299376e1fe6267786a8ea32?branch=f45

Log:
Update to pcp-7.2.3

---
diff --git a/pcp.spec b/pcp.spec
index 1452633..7a00695 100644
--- a/pcp.spec
+++ b/pcp.spec
@@ -1,6 +1,6 @@
 Name:    pcp
-Version: 7.2.2
-Release: 2%{?dist}
+Version: 7.2.3
+Release: 1%{?dist}
 Summary: System-level performance monitoring and performance management
 License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
 URL:     https://pcp.io
@@ -1824,6 +1824,20 @@ collecting metrics from IBM Db2 database servers.
 The ibm_db Python package must be installed separately before use.
 # end pcp-pmda-db2
 
+#
+# pcp-pmda-db2local
+#
+%package pmda-db2local
+License: GPL-2.0-or-later
+Summary: Performance Co-Pilot (PCP) metrics from local IBM Db2 commands
+URL: https://pcp.io
+Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
+Requires: python3-pcp
+%description pmda-db2local
+This package contains the PCP Performance Metrics Domain Agent (PMDA) for
+collecting local IBM Db2 metrics through the Db2 command-line tools.
+# end pcp-pmda-db2local
+
 %if !%{disable_mssql}
 #
 # pcp-pmda-mssql
@@ -2382,6 +2396,10 @@ PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
 
 PCP_CONF=$BACKDIR/src/include/pcp.conf
 export PCP_CONF
+# force pcp.env to use the build configuration rather than inheriting
+# values from the packager's environment
+unset PCP_ENV_DONE
+unset PCP_DEMOS_DIR
 . $BACKDIR/src/include/pcp.env
 CFGFILELIST=''
 for f in `echo $BACKDIR/debian/pcp-conf.{install,dirs}`
@@ -2501,6 +2519,24 @@ dso_files=$(awk '/^[^#]/{print $5}' $RPM_BUILD_ROOT%{_sysconfdir}/pcp/local.conf
     | xargs -I{} basename {} | sort -u | tr '\n' '|' | sed 's/|$//')
 dso_dirs=$(awk '/^[^#]/{print $5}' $RPM_BUILD_ROOT%{_sysconfdir}/pcp/local.conf \
     | xargs -I{} dirname {} | xargs -I{} basename {} | sort -u | tr '\n' '|' | sed 's/|$//')
+# The PMDA installation directories hold files owned by several packages
+# (pcp, pcp-pmda-* and pcp-libs) that are not necessarily erased in the
+# same order in which the directory was created.  Make pcp-conf, which
+# all of them depend on and which is therefore erased last, own the
+# directories as well, so that empty directories are removed with the
+# last package instead of being left behind.
+dso_paths=$(awk '/^[^#]/{print $5}' $RPM_BUILD_ROOT%{_sysconfdir}/pcp/local.conf \
+    | xargs -I{} dirname {} | sort -u)
+for d in $dso_paths
+do
+    echo $d >>pcp-conf-files
+    echo %{_pmdasexecdir}/`basename $d` >>pcp-conf-files
+done
+echo %{_pmdasdir} >>pcp-conf-files
+if [ -d $RPM_BUILD_ROOT%{_confdir}/pmrep ]
+then
+    echo %{_confdir}/pmrep >>pcp-conf-files
+fi
 basic_manifest | grep -E "/($dso_files)$" >>pcp-libs-files
 basic_manifest | grep -E "/pmdas/($dso_dirs)/help\.(dir|pag)$" >>pcp-libs-files
 echo %{_rundir}/pmimport >>pcp-libs-files
@@ -2590,6 +2626,7 @@ basic_manifest | keep '(etc/pcp|pmdas)/mailq(/|$)' >pcp-pmda-mailq-files
 basic_manifest | keep '(etc/pcp|pmdas)/mounts(/|$)' >pcp-pmda-mounts-files
 basic_manifest | keep '(etc/pcp|pmdas)/mongodb(/|$)' >pcp-pmda-mongodb-files
 basic_manifest | keep '(etc/pcp|pmdas)/db2(/|$)' >pcp-pmda-db2-files
+basic_manifest | keep '(etc/pcp|pmdas)/db2local(/|$)' >pcp-pmda-db2local-files
 basic_manifest | keep '(etc/pcp|pmdas|pmieconf)/mssql(/|$)' >pcp-pmda-mssql-files
 basic_manifest | keep '(etc/pcp|pmdas)/mysql(/|$)' >pcp-pmda-mysql-files
 basic_manifest | keep '(etc/pcp|pmdas)/named(/|$)' >pcp-pmda-named-files
@@ -2638,7 +2675,7 @@ for pmda_package in \
     activemq amdgpu apache \
     bash bind2 bonding bpf bpftrace \
     chrony cisco \
-    db2 dbping denki docker dm ds389 ds389log \
+    db2 db2local dbping denki docker dm ds389 ds389log \
     elasticsearch \
     farm \
     gfs2 gluster gpfs gpsd \
@@ -2748,6 +2785,19 @@ $1 == "l" {
             print $3 >> f;
           }'
 
+# The documentation and dstat packages share directories with other PCP
+# packages that are not necessarily erased in the same order.  List the
+# shared directories for these packages as well, so that the last package
+# to be removed deletes them instead of leaving empty directories behind.
+for d in %{_datadir}/pcp $PCP_DEMOS_DIR
+do
+    echo "%%dir %%attr(755,root,root) $d" >>pcp-doc-files.rpm
+done
+if [ -d $RPM_BUILD_ROOT%{_confdir}/pmrep ]
+then
+    echo "%%dir %%attr(755,root,root) %{_confdir}/pmrep" >>pcp-dstat-files.rpm
+fi
+
 %if !%{disable_systemd}
 mkdir -p $DIST_ROOT/$PCP_SYSTEMDTMPFILES_DIR
 sort -u $DIST_TMPFILES | awk '
@@ -3033,6 +3083,9 @@ exit 0
 %preun pmda-db2
 %{pmda_remove "$1" "db2"}
 
+%preun pmda-db2local
+%{pmda_remove "$1" "db2local"}
+
 %if !%{disable_mssql}
 %preun pmda-mssql
 %{pmda_remove "$1" "mssql"}
@@ -3397,6 +3450,8 @@ fi
 
 %files pmda-db2 -f pcp-pmda-db2-files.rpm
 
+%files pmda-db2local -f pcp-pmda-db2local-files.rpm
+
 %if !%{disable_mssql}
 %files pmda-mssql -f pcp-pmda-mssql-files.rpm
 %endif
@@ -3556,6 +3611,14 @@ fi
 %files zeroconf -f pcp-zeroconf-files.rpm
 
 %changelog
+* Mon Nov 30 2026 Jan Kurik <jkurik@redhat.com> - 7.2.3-1
+- Latest upstream release
+- New subpackage: pcp-pmda-db2local
+- Drop pcp-libbpf.patch (fix merged upstream in 7.2.3)
+
+* Wed Oct 28 2026 William Cohen <wcohen@redhat.com> - 7.2.2-3
+- Backport libbpf and bpftool patches to allow building with linux 7.3 on aarch64
+
 * Mon Oct 19 2026 Lauren Chilton <lchilton@redhat.com> - 7.2.2-2
 - Include sqlite-devel package
 

diff --git a/sources b/sources
index 6c91446..6fc0bf6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pcp-7.2.2.tar.gz) = 9bac28d272027ad833b5f7c844f5f69cd2eed23a5c54193a6f1bcb582e75773bf8e55646248fd4aee23647da14cb5461a0a14cdbb67a44b80aaad70a42ac9340
+SHA512 (pcp-7.2.3.tar.gz) = 33959080a8363e2c1c74cfcd1bf9540625ff5e3e7d3db2e0733aee12ce9885dd15b29e870b88e16e2915803ab83033b0153c2a800d23d7a6e171c27c19f453c5

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 14:08 [rpms/pcp] f45: Update to pcp-7.2.3 Jan Kurik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox