From 63a2d91139e83acfd3c9aced541ff29500a3fc69 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:40 +0100 Subject: [PATCH 1/6] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- pcp.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcp.spec b/pcp.spec index e2aff2a..026a2f3 100644 --- a/pcp.spec +++ b/pcp.spec @@ -2907,8 +2907,7 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild" cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild cd -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %if !%{disable_selinux} %preun selinux From 11c466be82342efd4e472dca22a6b0902d9bd78f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:00 +0100 Subject: [PATCH 2/6] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- pcp.spec | 103 ------------------------------------------------------- 1 file changed, 103 deletions(-) diff --git a/pcp.spec b/pcp.spec index 026a2f3..c2f4fd1 100644 --- a/pcp.spec +++ b/pcp.spec @@ -4,7 +4,6 @@ Release: 3%{?dist} Summary: System-level performance monitoring and performance management License: GPLv2+ and LGPLv2.1+ and CC-BY URL: https://pcp.io -Group: Applications/System %global bintray https://bintray.com/artifact/download %global github https://github.com/performancecopilot @@ -408,7 +407,6 @@ applications to easily retrieve and process any subset of that data. # %package conf License: LGPLv2.1+ -Group: System Environment/Libraries Summary: Performance Co-Pilot run-time configuration URL: https://pcp.io @@ -423,7 +421,6 @@ Performance Co-Pilot (PCP) run-time configuration # %package libs License: LGPLv2.1+ -Group: System Environment/Libraries Summary: Performance Co-Pilot run-time libraries URL: https://pcp.io Requires: pcp-conf = %{version}-%{release} @@ -436,7 +433,6 @@ Performance Co-Pilot (PCP) run-time libraries # %package libs-devel License: GPLv2+ and LGPLv2.1+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) development headers URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -449,7 +445,6 @@ Performance Co-Pilot (PCP) headers for development. # %package devel License: GPLv2+ and LGPLv2.1+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) development tools and documentation URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -464,7 +459,6 @@ Performance Co-Pilot (PCP) documentation and tools for development. # %package testsuite License: GPLv2+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) test suite URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -527,7 +521,6 @@ Quality assurance test suite for Performance Co-Pilot (PCP). # %package manager License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) manager daemon URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -546,7 +539,6 @@ scripts. # %package webapi License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) web API service URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -564,7 +556,6 @@ HTTP (PMWEBAPI) protocol. # %package webjs License: ASL 2.0 and MIT and CC-BY and GPLv3 -Group: Applications/Internet Conflicts: pcp-webjs < 3.11.9 %if !%{disable_noarch} BuildArch: noarch @@ -580,7 +571,6 @@ web service. %package webapp-vector License: ASL 2.0 -Group: Applications/Internet %if !%{disable_noarch} BuildArch: noarch %endif @@ -592,7 +582,6 @@ Vector web application for the Performance Co-Pilot (PCP). %package webapp-grafana License: ASL 2.0 -Group: Applications/Internet Conflicts: pcp-webjs < 3.10.4 %if !%{disable_noarch} BuildArch: noarch @@ -612,7 +601,6 @@ server via png (less interactive, faster). %package webapp-graphite License: ASL 2.0 and GPLv3 -Group: Applications/Internet Conflicts: pcp-webjs < 3.10.4 %if !%{disable_noarch} BuildArch: noarch @@ -628,7 +616,6 @@ Carbon and Whisper subsystems of Graphite are not included nor used. %package webapp-blinkenlights License: ASL 2.0 -Group: Applications/Internet %if !%{disable_noarch} BuildArch: noarch %endif @@ -645,7 +632,6 @@ on the periodic evaluation of performance metric expressions. # %package -n perl-PCP-PMDA License: GPLv2+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Perl bindings and documentation URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -663,7 +649,6 @@ an application, etc. # %package -n perl-PCP-MMV License: GPLv2+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -682,7 +667,6 @@ and analysis with pmchart, pmie, pmlogger and other PCP tools. # %package -n perl-PCP-LogImport License: GPLv2+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Perl bindings for importing external data into PCP archives URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -698,7 +682,6 @@ they can be replayed with standard PCP monitoring tools. # %package -n perl-PCP-LogSummary License: GPLv2+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Perl bindings for post-processing output of pmlogsummary URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -717,7 +700,6 @@ exporting this data into third-party tools (e.g. spreadsheets). # %package import-sar2pcp License: LGPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for importing sar data into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -733,7 +715,6 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package import-iostat2pcp License: LGPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for importing iostat data into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -748,7 +729,6 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package import-mrtg2pcp License: LGPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for importing MTRG data into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -763,7 +743,6 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package import-ganglia2pcp License: LGPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for importing ganglia data into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -778,7 +757,6 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package import-collectl2pcp License: LGPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for importing collectl log files into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -792,7 +770,6 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package export-zabbix-agent License: GPLv2+ -Group: Applications/System Summary: Module for exporting PCP metrics to Zabbix agent URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -807,7 +784,6 @@ Zabbix via the Zabbix agent - see zbxpcp(3) for further details. # %package export-pcp2elasticsearch License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to ElasticSearch URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -831,7 +807,6 @@ See https://www.elastic.co/community for further details. # %package export-pcp2graphite License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to Graphite URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -849,7 +824,6 @@ to graphite (http://graphite.readthedocs.org). # %package export-pcp2influxdb License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to InfluxDB URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -870,7 +844,6 @@ to InfluxDB (https://influxdata.com/time-series-platform/influxdb). # %package export-pcp2json License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics in JSON format URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -889,7 +862,6 @@ in JSON format. # %package export-pcp2spark License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to Apache Spark URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -910,7 +882,6 @@ further details on Apache Spark. %if !%{disable_xlsx} %package export-pcp2xlsx License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to Excel URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -933,7 +904,6 @@ in Excel spreadsheet format. # %package export-pcp2xml License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics in XML format URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -952,7 +922,6 @@ in XML format. # %package export-pcp2zabbix License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to Zabbix URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -973,7 +942,6 @@ to the Zabbix (https://www.zabbix.org/) monitoring software. # %package pmda-papi License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Performance API and hardware counters URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -990,7 +958,6 @@ collecting hardware counters statistics through PAPI (Performance API). # %package pmda-podman License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for podman containers URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -1008,7 +975,6 @@ collecting podman container and pod statistics through libvarlink. # %package pmda-perfevent License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for hardware counters URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -1026,7 +992,6 @@ collecting hardware counters statistics through libpfm. # %package pmda-infiniband License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Infiniband HCAs and switches URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -1044,7 +1009,6 @@ but can also be configured to monitor remote GUIDs such as IB switches. # %package pmda-activemq License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for ActiveMQ URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1060,7 +1024,6 @@ collecting metrics about the ActiveMQ message broker. # %package pmda-bind2 License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for BIND servers URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1078,7 +1041,6 @@ collecting metrics from BIND (Berkeley Internet Name Domain). # %package pmda-redis License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Redis URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1094,7 +1056,6 @@ collecting metrics from Redis servers (redis.io). # %package pmda-nutcracker License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for NutCracker (TwemCache) URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1112,7 +1073,6 @@ collecting metrics from NutCracker (TwemCache). # %package pmda-bonding License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Bonded network interfaces URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1127,7 +1087,6 @@ collecting metrics about bonded network interfaces. # %package pmda-dbping License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Database response times and Availablility URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1142,7 +1101,6 @@ collecting metrics about the Database response times and Availablility. # %package pmda-ds389 License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Servers URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1160,7 +1118,6 @@ collecting metrics about a 389 Directory Server. # %package pmda-ds389log License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Server Loggers URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1177,7 +1134,6 @@ collecting metrics from a 389 Directory Server log. # %package pmda-gpfs License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for GPFS Filesystem URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1192,7 +1148,6 @@ collecting metrics about the GPFS filesystem. # %package pmda-gpsd License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for a GPS Daemon URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1207,7 +1162,6 @@ collecting metrics about a GPS Daemon. # %package pmda-docker License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from the Docker daemon URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -1222,7 +1176,6 @@ collecting metrics using the Docker daemon REST API. # %package pmda-lustre License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1237,7 +1190,6 @@ collecting metrics about the Lustre Filesystem. # %package pmda-lustrecomm License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem Comms URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1253,7 +1205,6 @@ collecting metrics about the Lustre Filesystem Comms. # %package pmda-memcache License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Memcached URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1268,7 +1219,6 @@ collecting metrics about Memcached. # %package pmda-mysql License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for MySQL URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1285,7 +1235,6 @@ collecting metrics about the MySQL database. # %package pmda-named License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Named URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1299,7 +1248,6 @@ collecting metrics about the Named nameserver. # %package pmda-netfilter License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Netfilter framework URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1314,7 +1262,6 @@ collecting metrics about the Netfilter packet filtering framework. # %package pmda-news License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Usenet News URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1329,7 +1276,6 @@ collecting metrics about Usenet News. # %package pmda-nginx License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Nginx Webserver URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1346,7 +1292,6 @@ collecting metrics about the Nginx Webserver. # %package pmda-oracle License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Oracle database URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1363,7 +1308,6 @@ collecting metrics about the Oracle database. # %package pmda-pdns License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for PowerDNS URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1378,7 +1322,6 @@ collecting metrics about the PowerDNS. # %package pmda-postfix License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Postfix (MTA) URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1405,7 +1348,6 @@ collecting metrics about the Postfix (MTA). # %package pmda-rsyslog License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Rsyslog URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1420,7 +1362,6 @@ collecting metrics about Rsyslog. # %package pmda-samba License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Samba URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1435,7 +1376,6 @@ collecting metrics about Samba. # %package pmda-slurm License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the SLURM Workload Manager URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1451,7 +1391,6 @@ collecting metrics from the SLURM Workload Manager. # %package pmda-snmp License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Simple Network Management Protocol URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1471,7 +1410,6 @@ collecting metrics about SNMP. # %package pmda-vmware License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for VMware URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1486,7 +1424,6 @@ collecting metrics for VMware. # %package pmda-zimbra License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Zimbra URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1501,7 +1438,6 @@ collecting metrics about Zimbra. # %package pmda-dm License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1518,7 +1454,6 @@ collecting metrics about the Device Mapper Cache and Thin Client. # %package pmda-bcc License: ASL 2.0 and GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from eBPF/BCC modules URL: https://pcp.io Requires: python3-bcc @@ -1535,7 +1470,6 @@ extracting performance metrics from eBPF/BCC Python modules. # %package pmda-gluster License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Gluster filesystem URL: https://pcp.io %if !%{disable_python3} @@ -1553,7 +1487,6 @@ collecting metrics about the gluster filesystem. # %package pmda-nfsclient License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for NFS Clients URL: https://pcp.io %if !%{disable_python3} @@ -1571,7 +1504,6 @@ collecting metrics for NFS Clients. # %package pmda-postgresql License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for PostgreSQL URL: https://pcp.io %if !%{disable_python3} @@ -1593,7 +1525,6 @@ collecting metrics about the PostgreSQL database. # %package pmda-zswap License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for compressed swap URL: https://pcp.io %if !%{disable_python3} @@ -1611,7 +1542,6 @@ collecting metrics about compressed swap. # %package pmda-unbound License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Unbound DNS Resolver URL: https://pcp.io %if !%{disable_python3} @@ -1629,7 +1559,6 @@ collecting metrics about the Unbound DNS Resolver. # %package pmda-mic License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Intel MIC cards URL: https://pcp.io %if !%{disable_python3} @@ -1647,7 +1576,6 @@ collecting metrics about Intel MIC cards. # %package pmda-haproxy License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for HAProxy URL: https://pcp.io %if !%{disable_python3} @@ -1665,7 +1593,6 @@ extracting performance metrics from HAProxy over the HAProxy stats socket. # %package pmda-libvirt License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for virtual machines URL: https://pcp.io %if !%{disable_python3} @@ -1695,7 +1622,6 @@ and hypervisor machines. # %package pmda-elasticsearch License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Elasticsearch URL: https://pcp.io %if !%{disable_python3} @@ -1713,7 +1639,6 @@ collecting metrics about Elasticsearch. # %package pmda-lio License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the LIO subsystem URL: https://pcp.io %if !%{disable_python3} @@ -1738,7 +1663,6 @@ target. # %package pmda-prometheus License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from Prometheus endpoints URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1762,7 +1686,6 @@ extracting statistics from programs instrumented as Prometheus endpoints. # %package pmda-lmsensors License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for hardware sensors URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1786,7 +1709,6 @@ collecting metrics about the Linux hardware monitoring sensors. # %package pmda-json License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for JSON data URL: https://pcp.io %if !%{disable_python3} @@ -1810,7 +1732,6 @@ collecting metrics output in JSON. # %package pmda-apache License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Apache webserver URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1824,7 +1745,6 @@ collecting metrics about the Apache webserver. # %package pmda-bash License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Bash shell URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1838,7 +1758,6 @@ collecting metrics about the Bash shell. # %package pmda-cifs License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the CIFS protocol URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1852,7 +1771,6 @@ collecting metrics about the Common Internet Filesytem. # %package pmda-cisco License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Cisco routers URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1866,7 +1784,6 @@ collecting metrics about Cisco routers. # %package pmda-gfs2 License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the GFS2 filesystem URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1880,7 +1797,6 @@ collecting metrics about the Global Filesystem v2. # %package pmda-logger License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from arbitrary log files URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1895,7 +1811,6 @@ supports both sampled and event-style metrics. # %package pmda-mailq License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the sendmail queue URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1909,7 +1824,6 @@ collecting metrics about email queues managed by sendmail. # %package pmda-mounts License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for filesystem mounts URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1923,7 +1837,6 @@ collecting metrics about filesystem mounts. # %package pmda-nvidia-gpu License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Nvidia GPU URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1937,7 +1850,6 @@ collecting metrics about Nvidia GPUs. # %package pmda-roomtemp License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the room temperature URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1953,7 +1865,6 @@ collecting metrics about the room temperature. # %package pmda-rpm License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the RPM package manager URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1970,7 +1881,6 @@ collecting metrics about the installed RPM packages. # %package pmda-sendmail License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Sendmail URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1985,7 +1895,6 @@ collecting metrics about Sendmail traffic. # %package pmda-shping License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for shell command responses URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -2000,7 +1909,6 @@ arbitrary shell commands. # %package pmda-smart License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for S.M.A.R.T values URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -2015,7 +1923,6 @@ smartmontools package. # %package pmda-summary License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) summary metrics from pmie URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -2031,7 +1938,6 @@ collecting metrics about other installed pmdas. # %package pmda-systemd License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from the Systemd journal URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -2046,7 +1952,6 @@ collecting metrics from the Systemd journal. # %package pmda-trace License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for application tracing URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -2060,7 +1965,6 @@ collecting metrics about trace performance data in applications. # %package pmda-weblog License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from web server logs URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -2073,7 +1977,6 @@ collecting metrics about web server logs. %package zeroconf License: GPLv2+ -Group: Applications/System Summary: Performance Co-Pilot (PCP) Zeroconf Package URL: https://pcp.io Requires: pcp pcp-doc pcp-system-tools @@ -2093,7 +1996,6 @@ those written by sysstat. # %package -n %{__python2}-pcp License: GPLv2+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Python bindings and documentation URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -2119,7 +2021,6 @@ Metric Domain Agent (PMDA) collector tools written in Python. # %package -n python3-pcp License: GPLv2+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Python3 bindings and documentation URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -2137,7 +2038,6 @@ Metric Domain Agent (PMDA) collector tools written in Python3. # %package system-tools License: GPLv2+ -Group: Development/Libraries Summary: Performance Co-Pilot (PCP) System and Monitoring Tools URL: https://pcp.io %if !%{disable_python3} @@ -2164,7 +2064,6 @@ in the Python language. # %package gui License: GPLv2+ and LGPLv2+ and LGPLv2+ with exceptions -Group: Applications/System Summary: Visualization tools for the Performance Co-Pilot toolkit URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -2183,7 +2082,6 @@ monitoring systems using live and archived Performance Co-Pilot # %package doc License: GPLv2+ and CC-BY -Group: Documentation %if !%{disable_noarch} BuildArch: noarch %endif @@ -2211,7 +2109,6 @@ PCP utilities and daemons, and the PCP graphical tools. %if !%{disable_selinux} %package selinux License: GPLv2+ and CC-BY -Group: Applications/System Summary: Selinux policy package URL: https://pcp.io BuildRequires: selinux-policy-devel From 6298d8f844b19bf1536461147fd39edaeed28fb7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 18:08:19 +0000 Subject: [PATCH 3/6] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pcp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pcp.spec b/pcp.spec index c2f4fd1..9aeae46 100644 --- a/pcp.spec +++ b/pcp.spec @@ -1,6 +1,6 @@ Name: pcp Version: 4.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: System-level performance monitoring and performance management License: GPLv2+ and LGPLv2.1+ and CC-BY URL: https://pcp.io @@ -3319,6 +3319,9 @@ cd %endif %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 4.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Jan 10 2019 Mark Goodwin - 4.3.0-3 - add missing build deps on libuv for pmseries and libpcp_web (BZ 1630540) From 3a347682f27ec7b56f53772e73ef5623c7e26e3c Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Tue, 12 Feb 2019 14:59:46 -0500 Subject: [PATCH 4/6] reenable PMCD_LOCAL and PMLOGGER_LOCAL via patch --- .gitignore | 1 + pcp.spec | 16 ++++++---------- sources | 3 ++- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 0bcae83..c8396d8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ pcp-webapp-*.tar.gz pcp-webjs-* vector-* /pcp-revert-pmlogger_daily-daystart.patch +/pmcd-pmlogger-local-context.patch diff --git a/pcp.spec b/pcp.spec index 9aeae46..3bf3ece 100644 --- a/pcp.spec +++ b/pcp.spec @@ -1,6 +1,6 @@ Name: pcp Version: 4.3.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: System-level performance monitoring and performance management License: GPLv2+ and LGPLv2.1+ and CC-BY URL: https://pcp.io @@ -15,6 +15,7 @@ Source3: %{github}/pcp-webapp-graphite/archive/0.9.10/pcp-webapp-graphite-0.9.10 Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.1/pcp-webapp-blinkenlights-1.0.1.tar.gz # patch for GH#597 Patch0: pcp-revert-pmlogger_daily-daystart.patch +Patch1: pmcd-pmlogger-local-context.patch %if 0%{?fedora} >= 26 || 0%{?rhel} > 7 %global __python2 python2 @@ -2133,6 +2134,7 @@ updated policy package. %setup -q -T -D -a 4 -c -n blinkenlights %setup -q %patch0 -p1 +%patch1 -p1 %build %if !%{disable_python2} && 0%{?default_python} != 3 @@ -2202,15 +2204,6 @@ for f in $RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmwebd,pmmgr,pmpro sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f done -%if 0%{?fedora} > 26 -if [ "$1" -eq 1 ] -then -PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig -sed -i 's/^\#\ PMLOGGER_LOCAL.*/PMLOGGER_LOCAL=1/g' "$RPM_BUILD_ROOT/$PCP_SYSCONFIG_DIR/pmlogger" -sed -i 's/^\#\ PMCD_LOCAL.*/PMCD_LOCAL=1/g' "$RPM_BUILD_ROOT/$PCP_SYSCONFIG_DIR/pmcd" -fi -%endif - # list of PMDAs in the base pkg ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\ grep -E -v '^simple|sample|trivial|txmon' |\ @@ -3319,6 +3312,9 @@ cd %endif %changelog +* Tue Feb 12 2019 Lukas Berk - 4.3.0-5 +- Add patch to enable PMCD_LOCAL and PMLOGGER_LOCAL sysconfig vars + * Fri Feb 01 2019 Fedora Release Engineering - 4.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 5ebacd2..c05d8b7 100644 --- a/sources +++ b/sources @@ -1,6 +1,7 @@ SHA512 (pcp-4.3.0.src.tar.gz) = 9dd6e3aeb05e1e90408365b87dc850a6ddd6576b5697d9c61c8d4316503397daa38198ceec92ca83f4e0b3a668c43c0c50f710b6919782d63b6e7b8cdcf33f3b SHA512 (pcp-webapp-blinkenlights-1.0.1.tar.gz) = dadf0bc0742a3344a75f8f304851762572ddc9a5c7c66fd085adcabb70f9e7a9b2c9b6095a8fb358f6a6c64dbf41cf245e2da74a60b8120880f314b6ed3d271c -SHA512 (pcp-webapp-vector-1.3.1-1.tar.gz) = b1463d4da3727f130752699dd433e997212c19241ac440df389c1153e468ace840b7d5f43a37b2173e4eee4f4a807338a3c40cc9635801e626c1530baf46e289 SHA512 (pcp-webapp-grafana-1.9.1-2.tar.gz) = abd0f360b057853d343e506e352a37d16f78bbae6760124ecdfab0e43ffcf3b31404311f1fe5c962e8abdbf2ad8699df3f27e2920f03f1a10bca3c0e01179e21 SHA512 (pcp-webapp-graphite-0.9.10.tar.gz) = f716e5145e5d39b54be02e39202c51bdd1158d56fa16185a591c0f54fb376a637653f0c13aa9c5ad5700fc62d0c71163e94b9fa689fabe3e6de4ddf19fa827fa +SHA512 (pcp-webapp-vector-1.3.1-1.tar.gz) = b1463d4da3727f130752699dd433e997212c19241ac440df389c1153e468ace840b7d5f43a37b2173e4eee4f4a807338a3c40cc9635801e626c1530baf46e289 SHA512 (pcp-revert-pmlogger_daily-daystart.patch) = b12febf6b7df9a79a225f5aff858b2ef755428349d86181f98da5986c479ab4375ffaa55af3dd749725341e4026fa26d54287f1668f19acbe59ff1c97e16967c +SHA512 (pmcd-pmlogger-local-context.patch) = 8f4b6b49494781d0a711ac27738a75b1adead72cb1baef9a78754686c48ae2d278d691108233e9cf9ad33fede5ba7b7a43f4674205b9bf448f267c844ddc1a01 From c67f1c0d8da12e465ed28f00fd958ebb554cfd3a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 17 Feb 2019 09:30:52 +0100 Subject: [PATCH 5/6] Rebuild for readline 8.0 --- pcp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pcp.spec b/pcp.spec index 3bf3ece..192daf0 100644 --- a/pcp.spec +++ b/pcp.spec @@ -1,6 +1,6 @@ Name: pcp Version: 4.3.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: System-level performance monitoring and performance management License: GPLv2+ and LGPLv2.1+ and CC-BY URL: https://pcp.io @@ -3312,6 +3312,9 @@ cd %endif %changelog +* Sun Feb 17 2019 Igor Gnatenko - 4.3.0-6 +- Rebuild for readline 8.0 + * Tue Feb 12 2019 Lukas Berk - 4.3.0-5 - Add patch to enable PMCD_LOCAL and PMLOGGER_LOCAL sysconfig vars From 0cb4be52036701fc82b80792a9bd7b3e62a65061 Mon Sep 17 00:00:00 2001 From: Mark Goodwin Date: Wed, 27 Feb 2019 14:01:31 +1100 Subject: [PATCH 6/6] Update to latest community sources --- pcp.spec | 228 ++++++++++++++++++++++++++++++++++++++++++------------- sources | 6 +- 2 files changed, 176 insertions(+), 58 deletions(-) diff --git a/pcp.spec b/pcp.spec index 192daf0..098b8c1 100644 --- a/pcp.spec +++ b/pcp.spec @@ -1,9 +1,10 @@ Name: pcp -Version: 4.3.0 -Release: 6%{?dist} +Version: 4.3.1 +Release: 1%{?dist} Summary: System-level performance monitoring and performance management -License: GPLv2+ and LGPLv2.1+ and CC-BY +License: GPLv2+ and LGPLv2+ and CC-BY URL: https://pcp.io +Group: Applications/System %global bintray https://bintray.com/artifact/download %global github https://github.com/performancecopilot @@ -13,9 +14,6 @@ Source1: %{github}/pcp-webapp-vector/archive/1.3.1-1/pcp-webapp-vector-1.3.1-1.t Source2: %{github}/pcp-webapp-grafana/archive/1.9.1-2/pcp-webapp-grafana-1.9.1-2.tar.gz Source3: %{github}/pcp-webapp-graphite/archive/0.9.10/pcp-webapp-graphite-0.9.10.tar.gz Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.1/pcp-webapp-blinkenlights-1.0.1.tar.gz -# patch for GH#597 -Patch0: pcp-revert-pmlogger_daily-daystart.patch -Patch1: pmcd-pmlogger-local-context.patch %if 0%{?fedora} >= 26 || 0%{?rhel} > 7 %global __python2 python2 @@ -49,7 +47,7 @@ Patch1: pmcd-pmlogger-local-context.patch %endif # libvarlink and pmdapodman -%if 0%{?fedora} >= 28 || 0%{?rhel} >= 7 +%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 %global disable_podman 0 %else %global disable_podman 1 @@ -88,15 +86,11 @@ Patch1: pmcd-pmlogger-local-context.patch %endif # support for pmdabcc -%if 0%{?fedora} >= 25 || 0%{?rhel} > 7 +%if 0%{?fedora} >= 25 || 0%{?rhel} > 6 %ifarch s390 s390x armv7hl aarch64 i686 %global disable_bcc 1 %else -%if !%{disable_python3} %global disable_bcc 0 -%else -%global disable_bcc 1 -%endif %endif %else %global disable_bcc 1 @@ -377,14 +371,6 @@ then fi } -# force upgrade of PMDAs starting in "notready" state -%global pmda_notready() %{expand: -if grep -q ^%2 "%{_confdir}/pmcd/pmcd.conf" 2>/dev/null -then - touch %{_pmdasdir}/%2/.NeedInstall -fi -} - %global selinux_handle_policy() %{expand: if [ %1 -ge 1 ] then @@ -407,7 +393,8 @@ applications to easily retrieve and process any subset of that data. # pcp-conf # %package conf -License: LGPLv2.1+ +License: LGPLv2+ +Group: System Environment/Libraries Summary: Performance Co-Pilot run-time configuration URL: https://pcp.io @@ -421,7 +408,8 @@ Performance Co-Pilot (PCP) run-time configuration # pcp-libs # %package libs -License: LGPLv2.1+ +License: LGPLv2+ +Group: System Environment/Libraries Summary: Performance Co-Pilot run-time libraries URL: https://pcp.io Requires: pcp-conf = %{version}-%{release} @@ -433,7 +421,8 @@ Performance Co-Pilot (PCP) run-time libraries # pcp-libs-devel # %package libs-devel -License: GPLv2+ and LGPLv2.1+ +License: GPLv2+ and LGPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) development headers URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -445,7 +434,8 @@ Performance Co-Pilot (PCP) headers for development. # pcp-devel # %package devel -License: GPLv2+ and LGPLv2.1+ +License: GPLv2+ and LGPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) development tools and documentation URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -460,6 +450,7 @@ Performance Co-Pilot (PCP) documentation and tools for development. # %package testsuite License: GPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) test suite URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -512,6 +503,7 @@ Requires: pcp-system-tools Requires: pcp-gui %endif Requires: bc gcc gzip bzip2 +Requires: redhat-rpm-config %description testsuite Quality assurance test suite for Performance Co-Pilot (PCP). @@ -522,6 +514,7 @@ Quality assurance test suite for Performance Co-Pilot (PCP). # %package manager License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) manager daemon URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -540,6 +533,7 @@ scripts. # %package webapi License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) web API service URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -557,6 +551,7 @@ HTTP (PMWEBAPI) protocol. # %package webjs License: ASL 2.0 and MIT and CC-BY and GPLv3 +Group: Applications/Internet Conflicts: pcp-webjs < 3.11.9 %if !%{disable_noarch} BuildArch: noarch @@ -572,6 +567,7 @@ web service. %package webapp-vector License: ASL 2.0 +Group: Applications/Internet %if !%{disable_noarch} BuildArch: noarch %endif @@ -583,6 +579,7 @@ Vector web application for the Performance Co-Pilot (PCP). %package webapp-grafana License: ASL 2.0 +Group: Applications/Internet Conflicts: pcp-webjs < 3.10.4 %if !%{disable_noarch} BuildArch: noarch @@ -602,6 +599,7 @@ server via png (less interactive, faster). %package webapp-graphite License: ASL 2.0 and GPLv3 +Group: Applications/Internet Conflicts: pcp-webjs < 3.10.4 %if !%{disable_noarch} BuildArch: noarch @@ -617,6 +615,7 @@ Carbon and Whisper subsystems of Graphite are not included nor used. %package webapp-blinkenlights License: ASL 2.0 +Group: Applications/Internet %if !%{disable_noarch} BuildArch: noarch %endif @@ -633,6 +632,7 @@ on the periodic evaluation of performance metric expressions. # %package -n perl-PCP-PMDA License: GPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Perl bindings and documentation URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -650,6 +650,7 @@ an application, etc. # %package -n perl-PCP-MMV License: GPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -668,6 +669,7 @@ and analysis with pmchart, pmie, pmlogger and other PCP tools. # %package -n perl-PCP-LogImport License: GPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Perl bindings for importing external data into PCP archives URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -683,6 +685,7 @@ they can be replayed with standard PCP monitoring tools. # %package -n perl-PCP-LogSummary License: GPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Perl bindings for post-processing output of pmlogsummary URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -701,6 +704,7 @@ exporting this data into third-party tools (e.g. spreadsheets). # %package import-sar2pcp License: LGPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for importing sar data into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -716,6 +720,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package import-iostat2pcp License: LGPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for importing iostat data into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -730,6 +735,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package import-mrtg2pcp License: LGPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for importing MTRG data into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -744,6 +750,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package import-ganglia2pcp License: LGPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for importing ganglia data into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -758,6 +765,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package import-collectl2pcp License: LGPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for importing collectl log files into PCP archive logs URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -771,6 +779,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool. # %package export-zabbix-agent License: GPLv2+ +Group: Applications/System Summary: Module for exporting PCP metrics to Zabbix agent URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -785,6 +794,7 @@ Zabbix via the Zabbix agent - see zbxpcp(3) for further details. # %package export-pcp2elasticsearch License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to ElasticSearch URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -808,6 +818,7 @@ See https://www.elastic.co/community for further details. # %package export-pcp2graphite License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to Graphite URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -825,6 +836,7 @@ to graphite (http://graphite.readthedocs.org). # %package export-pcp2influxdb License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to InfluxDB URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -845,6 +857,7 @@ to InfluxDB (https://influxdata.com/time-series-platform/influxdb). # %package export-pcp2json License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics in JSON format URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -863,6 +876,7 @@ in JSON format. # %package export-pcp2spark License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to Apache Spark URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -883,6 +897,7 @@ further details on Apache Spark. %if !%{disable_xlsx} %package export-pcp2xlsx License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to Excel URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -905,6 +920,7 @@ in Excel spreadsheet format. # %package export-pcp2xml License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics in XML format URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -923,6 +939,7 @@ in XML format. # %package export-pcp2zabbix License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot tools for exporting PCP metrics to Zabbix URL: https://pcp.io Requires: pcp-libs >= %{version}-%{release} @@ -943,6 +960,7 @@ to the Zabbix (https://www.zabbix.org/) monitoring software. # %package pmda-papi License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Performance API and hardware counters URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -959,6 +977,7 @@ collecting hardware counters statistics through PAPI (Performance API). # %package pmda-podman License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for podman containers URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -976,6 +995,7 @@ collecting podman container and pod statistics through libvarlink. # %package pmda-perfevent License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for hardware counters URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -993,6 +1013,7 @@ collecting hardware counters statistics through libpfm. # %package pmda-infiniband License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Infiniband HCAs and switches URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -1010,6 +1031,7 @@ but can also be configured to monitor remote GUIDs such as IB switches. # %package pmda-activemq License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for ActiveMQ URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1025,6 +1047,7 @@ collecting metrics about the ActiveMQ message broker. # %package pmda-bind2 License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for BIND servers URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1042,6 +1065,7 @@ collecting metrics from BIND (Berkeley Internet Name Domain). # %package pmda-redis License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Redis URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1057,6 +1081,7 @@ collecting metrics from Redis servers (redis.io). # %package pmda-nutcracker License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for NutCracker (TwemCache) URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1074,6 +1099,7 @@ collecting metrics from NutCracker (TwemCache). # %package pmda-bonding License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Bonded network interfaces URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1088,6 +1114,7 @@ collecting metrics about bonded network interfaces. # %package pmda-dbping License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Database response times and Availablility URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1102,6 +1129,7 @@ collecting metrics about the Database response times and Availablility. # %package pmda-ds389 License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Servers URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1119,6 +1147,7 @@ collecting metrics about a 389 Directory Server. # %package pmda-ds389log License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Server Loggers URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1135,6 +1164,7 @@ collecting metrics from a 389 Directory Server log. # %package pmda-gpfs License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for GPFS Filesystem URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1149,6 +1179,7 @@ collecting metrics about the GPFS filesystem. # %package pmda-gpsd License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for a GPS Daemon URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1163,6 +1194,7 @@ collecting metrics about a GPS Daemon. # %package pmda-docker License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from the Docker daemon URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -1177,6 +1209,7 @@ collecting metrics using the Docker daemon REST API. # %package pmda-lustre License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1191,6 +1224,7 @@ collecting metrics about the Lustre Filesystem. # %package pmda-lustrecomm License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem Comms URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1206,6 +1240,7 @@ collecting metrics about the Lustre Filesystem Comms. # %package pmda-memcache License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Memcached URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1220,6 +1255,7 @@ collecting metrics about Memcached. # %package pmda-mysql License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for MySQL URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1236,6 +1272,7 @@ collecting metrics about the MySQL database. # %package pmda-named License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Named URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1249,6 +1286,7 @@ collecting metrics about the Named nameserver. # %package pmda-netfilter License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Netfilter framework URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1263,6 +1301,7 @@ collecting metrics about the Netfilter packet filtering framework. # %package pmda-news License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Usenet News URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1277,6 +1316,7 @@ collecting metrics about Usenet News. # %package pmda-nginx License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Nginx Webserver URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1293,6 +1333,7 @@ collecting metrics about the Nginx Webserver. # %package pmda-oracle License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Oracle database URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1309,6 +1350,7 @@ collecting metrics about the Oracle database. # %package pmda-pdns License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for PowerDNS URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1323,6 +1365,7 @@ collecting metrics about the PowerDNS. # %package pmda-postfix License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Postfix (MTA) URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1349,6 +1392,7 @@ collecting metrics about the Postfix (MTA). # %package pmda-rsyslog License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Rsyslog URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1363,6 +1407,7 @@ collecting metrics about Rsyslog. # %package pmda-samba License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Samba URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1377,6 +1422,7 @@ collecting metrics about Samba. # %package pmda-slurm License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the SLURM Workload Manager URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1392,6 +1438,7 @@ collecting metrics from the SLURM Workload Manager. # %package pmda-snmp License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Simple Network Management Protocol URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1411,6 +1458,7 @@ collecting metrics about SNMP. # %package pmda-vmware License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for VMware URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1425,6 +1473,7 @@ collecting metrics for VMware. # %package pmda-zimbra License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Zimbra URL: https://pcp.io Requires: perl-PCP-PMDA = %{version}-%{release} @@ -1439,6 +1488,7 @@ collecting metrics about Zimbra. # %package pmda-dm License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1455,6 +1505,7 @@ collecting metrics about the Device Mapper Cache and Thin Client. # %package pmda-bcc License: ASL 2.0 and GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from eBPF/BCC modules URL: https://pcp.io Requires: python3-bcc @@ -1471,6 +1522,7 @@ extracting performance metrics from eBPF/BCC Python modules. # %package pmda-gluster License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Gluster filesystem URL: https://pcp.io %if !%{disable_python3} @@ -1488,6 +1540,7 @@ collecting metrics about the gluster filesystem. # %package pmda-nfsclient License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for NFS Clients URL: https://pcp.io %if !%{disable_python3} @@ -1505,6 +1558,7 @@ collecting metrics for NFS Clients. # %package pmda-postgresql License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for PostgreSQL URL: https://pcp.io %if !%{disable_python3} @@ -1526,6 +1580,7 @@ collecting metrics about the PostgreSQL database. # %package pmda-zswap License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for compressed swap URL: https://pcp.io %if !%{disable_python3} @@ -1543,6 +1598,7 @@ collecting metrics about compressed swap. # %package pmda-unbound License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Unbound DNS Resolver URL: https://pcp.io %if !%{disable_python3} @@ -1560,6 +1616,7 @@ collecting metrics about the Unbound DNS Resolver. # %package pmda-mic License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Intel MIC cards URL: https://pcp.io %if !%{disable_python3} @@ -1577,6 +1634,7 @@ collecting metrics about Intel MIC cards. # %package pmda-haproxy License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for HAProxy URL: https://pcp.io %if !%{disable_python3} @@ -1594,6 +1652,7 @@ extracting performance metrics from HAProxy over the HAProxy stats socket. # %package pmda-libvirt License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for virtual machines URL: https://pcp.io %if !%{disable_python3} @@ -1623,6 +1682,7 @@ and hypervisor machines. # %package pmda-elasticsearch License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Elasticsearch URL: https://pcp.io %if !%{disable_python3} @@ -1640,6 +1700,7 @@ collecting metrics about Elasticsearch. # %package pmda-lio License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the LIO subsystem URL: https://pcp.io %if !%{disable_python3} @@ -1664,6 +1725,7 @@ target. # %package pmda-prometheus License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from Prometheus endpoints URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1687,6 +1749,7 @@ extracting statistics from programs instrumented as Prometheus endpoints. # %package pmda-lmsensors License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for hardware sensors URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1710,6 +1773,7 @@ collecting metrics about the Linux hardware monitoring sensors. # %package pmda-json License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for JSON data URL: https://pcp.io %if !%{disable_python3} @@ -1733,6 +1797,7 @@ collecting metrics output in JSON. # %package pmda-apache License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Apache webserver URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1746,6 +1811,7 @@ collecting metrics about the Apache webserver. # %package pmda-bash License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Bash shell URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1759,6 +1825,7 @@ collecting metrics about the Bash shell. # %package pmda-cifs License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the CIFS protocol URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1772,6 +1839,7 @@ collecting metrics about the Common Internet Filesytem. # %package pmda-cisco License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Cisco routers URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1785,6 +1853,7 @@ collecting metrics about Cisco routers. # %package pmda-gfs2 License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the GFS2 filesystem URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1798,6 +1867,7 @@ collecting metrics about the Global Filesystem v2. # %package pmda-logger License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from arbitrary log files URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1812,6 +1882,7 @@ supports both sampled and event-style metrics. # %package pmda-mailq License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the sendmail queue URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1825,6 +1896,7 @@ collecting metrics about email queues managed by sendmail. # %package pmda-mounts License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for filesystem mounts URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1838,6 +1910,7 @@ collecting metrics about filesystem mounts. # %package pmda-nvidia-gpu License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the Nvidia GPU URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1851,6 +1924,7 @@ collecting metrics about Nvidia GPUs. # %package pmda-roomtemp License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the room temperature URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1866,6 +1940,7 @@ collecting metrics about the room temperature. # %package pmda-rpm License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for the RPM package manager URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1882,6 +1957,7 @@ collecting metrics about the installed RPM packages. # %package pmda-sendmail License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for Sendmail URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1896,6 +1972,7 @@ collecting metrics about Sendmail traffic. # %package pmda-shping License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for shell command responses URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1910,6 +1987,7 @@ arbitrary shell commands. # %package pmda-smart License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for S.M.A.R.T values URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1924,13 +2002,14 @@ smartmontools package. # %package pmda-summary License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) summary metrics from pmie URL: https://pcp.io Requires: pcp = %{version}-%{release} Requires: pcp-libs = %{version}-%{release} %description pmda-summary This package contains the PCP Performance Metrics Domain Agent (PMDA) for -collecting metrics about other installed pmdas. +collecting metrics about other installed PMDAs. # end pcp-pmda-summary %if !%{disable_systemd} @@ -1939,6 +2018,7 @@ collecting metrics about other installed pmdas. # %package pmda-systemd License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from the Systemd journal URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1953,6 +2033,7 @@ collecting metrics from the Systemd journal. # %package pmda-trace License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics for application tracing URL: https://pcp.io Requires: pcp-libs = %{version}-%{release} @@ -1966,6 +2047,7 @@ collecting metrics about trace performance data in applications. # %package pmda-weblog License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) metrics from web server logs URL: https://pcp.io Requires: pcp = %{version}-%{release} @@ -1978,6 +2060,7 @@ collecting metrics about web server logs. %package zeroconf License: GPLv2+ +Group: Applications/System Summary: Performance Co-Pilot (PCP) Zeroconf Package URL: https://pcp.io Requires: pcp pcp-doc pcp-system-tools @@ -1997,6 +2080,7 @@ those written by sysstat. # %package -n %{__python2}-pcp License: GPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Python bindings and documentation URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -2022,6 +2106,7 @@ Metric Domain Agent (PMDA) collector tools written in Python. # %package -n python3-pcp License: GPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) Python3 bindings and documentation URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -2039,6 +2124,7 @@ Metric Domain Agent (PMDA) collector tools written in Python3. # %package system-tools License: GPLv2+ +Group: Development/Libraries Summary: Performance Co-Pilot (PCP) System and Monitoring Tools URL: https://pcp.io %if !%{disable_python3} @@ -2065,6 +2151,7 @@ in the Python language. # %package gui License: GPLv2+ and LGPLv2+ and LGPLv2+ with exceptions +Group: Applications/System Summary: Visualization tools for the Performance Co-Pilot toolkit URL: https://pcp.io Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} @@ -2083,6 +2170,7 @@ monitoring systems using live and archived Performance Co-Pilot # %package doc License: GPLv2+ and CC-BY +Group: Documentation %if !%{disable_noarch} BuildArch: noarch %endif @@ -2110,6 +2198,7 @@ PCP utilities and daemons, and the PCP graphical tools. %if !%{disable_selinux} %package selinux License: GPLv2+ and CC-BY +Group: Applications/System Summary: Selinux policy package URL: https://pcp.io BuildRequires: selinux-policy-devel @@ -2133,8 +2222,6 @@ updated policy package. %setup -q -T -D -a 3 -c -n graphite %setup -q -T -D -a 4 -c -n blinkenlights %setup -q -%patch0 -p1 -%patch1 -p1 %build %if !%{disable_python2} && 0%{?default_python} != 3 @@ -2204,6 +2291,15 @@ for f in $RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmwebd,pmmgr,pmpro sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f done +%if 0%{?fedora} > 26 +if [ "$1" -eq 1 ] +then +PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig +sed -i 's/^\#\ PMLOGGER_LOCAL.*/PMLOGGER_LOCAL=1/g' "$RPM_BUILD_ROOT/$PCP_SYSCONFIG_DIR/pmlogger" +sed -i 's/^\#\ PMCD_LOCAL.*/PMCD_LOCAL=1/g' "$RPM_BUILD_ROOT/$PCP_SYSCONFIG_DIR/pmcd" +fi +%endif + # list of PMDAs in the base pkg ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\ grep -E -v '^simple|sample|trivial|txmon' |\ @@ -2663,6 +2759,17 @@ fi %preun pmda-weblog %{pmda_remove "$1" "weblog"} +%if !%{disable_systemd} +%preun zeroconf +if [ "$1" -eq 0 ] +then + %systemd_preun pmlogger_daily_report.timer + %systemd_preun pmlogger_daily_report.service + %systemd_preun pmlogger_daily_report-poll.timer + %systemd_preun pmlogger_daily_report-poll.service +fi +%endif + %preun if [ "$1" -eq 0 ] then @@ -2716,9 +2823,13 @@ chown -R pcp:pcp %{_logsdir}/pmmgr 2>/dev/null %post zeroconf PCP_PMDAS_DIR=%{_pmdasdir} PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig -# auto-install important PMDAs for RH Support +PCP_PMCDCONF_PATH=%{_confdir}/pmcd/pmcd.conf +# auto-install important PMDAs for RH Support (if not present already) for PMDA in dm nfsclient ; do - touch "$PCP_PMDAS_DIR/$PMDA/.NeedInstall" + if ! grep -q "$PMDA/pmda$PMDA" "$PCP_PMCDCONF_PATH" + then + touch "$PCP_PMDAS_DIR/$PMDA/.NeedInstall" + fi done # increase default pmlogger recording frequency sed -i 's/^\#\ PMLOGGER_INTERVAL.*/PMLOGGER_INTERVAL=10/g' "$PCP_SYSCONFIG_DIR/pmlogger" @@ -2731,6 +2842,8 @@ pmieconf -c enable dmthin systemctl restart pmie >/dev/null 2>&1 systemctl enable pmcd >/dev/null 2>&1 systemctl enable pmlogger >/dev/null 2>&1 + systemctl enable pmlogger_daily_report >/dev/null 2>&1 + systemctl enable pmlogger_daily_report-poll >/dev/null 2>&1 systemctl enable pmie >/dev/null 2>&1 %else /sbin/chkconfig --add pmcd >/dev/null 2>&1 @@ -2753,14 +2866,6 @@ pmieconf -c enable dmthin %{selinux_handle_policy "$1" "pcpupstream-container"} %endif -%if !%{disable_bcc} -%post pmda-bcc -%{pmda_notready "$1" "bcc"} -%endif - -%post pmda-prometheus -%{pmda_notready "$1" "prometheus"} - %post PCP_LOG_DIR=%{_logsdir} PCP_PMNS_DIR=%{_pmnsdir} @@ -2797,7 +2902,8 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild" cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild cd -%ldconfig_scriptlets libs +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %if !%{disable_selinux} %preun selinux @@ -2854,10 +2960,23 @@ cd %{_unitdir}/pmlogger.service %{_unitdir}/pmie.service %{_unitdir}/pmproxy.service -%endif -%config(noreplace) %{_sysconfdir}/sasl2/pmcd.conf +# services and timers replacing the old cron scripts +%{_unitdir}/pmlogger_check.service +%{_unitdir}/pmlogger_check.timer +%{_unitdir}/pmlogger_daily.service +%{_unitdir}/pmlogger_daily.timer +%{_unitdir}/pmlogger_daily-poll.service +%{_unitdir}/pmlogger_daily-poll.timer +%{_unitdir}/pmie_check.service +%{_unitdir}/pmie_check.timer +%{_unitdir}/pmie_daily.service +%{_unitdir}/pmie_daily.timer +%else +# cron scripts %config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger %config(noreplace) %{_sysconfdir}/cron.d/pcp-pmie +%endif +%config(noreplace) %{_sysconfdir}/sasl2/pmcd.conf %config(noreplace) %{_sysconfdir}/sysconfig/pmlogger %config(noreplace) %{_sysconfdir}/sysconfig/pmproxy %config(noreplace) %{_sysconfdir}/sysconfig/pmcd @@ -2880,6 +2999,8 @@ cd %dir %attr(0775,pcp,pcp) %{_confdir}/nssdb %dir %{_confdir}/discover %config(noreplace) %{_confdir}/discover/pcp-kube-pods.conf +%dir %{_confdir}/pmseries +%config(noreplace) %{_confdir}/pmseries/pmseries.conf %ghost %dir %attr(0775,pcp,pcp) %{_localstatedir}/run/pcp %{_localstatedir}/lib/pcp/config/pmafm @@ -2900,7 +3021,15 @@ cd %files zeroconf %{_libexecdir}/pcp/bin/pmlogger_daily_report +%if !%{disable_systemd} +# systemd services for pmlogger_daily_report to replace the cron script +%{_unitdir}/pmlogger_daily_report.service +%{_unitdir}/pmlogger_daily_report.timer +%{_unitdir}/pmlogger_daily_report-poll.service +%{_unitdir}/pmlogger_daily_report-poll.timer +%else %config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger-daily-report +%endif %{_localstatedir}/lib/pcp/config/pmlogconf/zeroconf #additional pmlogger config files @@ -3312,20 +3441,11 @@ cd %endif %changelog -* Sun Feb 17 2019 Igor Gnatenko - 4.3.0-6 -- Rebuild for readline 8.0 - -* Tue Feb 12 2019 Lukas Berk - 4.3.0-5 -- Add patch to enable PMCD_LOCAL and PMLOGGER_LOCAL sysconfig vars - -* Fri Feb 01 2019 Fedora Release Engineering - 4.3.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jan 10 2019 Mark Goodwin - 4.3.0-3 -- add missing build deps on libuv for pmseries and libpcp_web (BZ 1630540) - -* Wed Dec 26 2018 Mark Goodwin - 4.3.0-2 -- Revert pmlogger_daily daystart patch (BZ 1662034) +* Wed Feb 27 2019 Mark Goodwin - 4.3.1-1 +- Fixes pcp-dstat in --full (all instances) mode (BZ 1661912) +- Remove package dependencies on initscripts (BZ 1592380) +- Set include directory for cppcheck use (BZ 1663372) +- Update to latest PCP sources. * Fri Dec 21 2018 Nathan Scott - 4.3.0-1 - Add the dstat -f/--full option to expand instances (BZ 1651536) diff --git a/sources b/sources index c05d8b7..6a833a3 100644 --- a/sources +++ b/sources @@ -1,7 +1,5 @@ -SHA512 (pcp-4.3.0.src.tar.gz) = 9dd6e3aeb05e1e90408365b87dc850a6ddd6576b5697d9c61c8d4316503397daa38198ceec92ca83f4e0b3a668c43c0c50f710b6919782d63b6e7b8cdcf33f3b +SHA512 (pcp-4.3.1.src.tar.gz) = 8e5bcaf7e4cff88009041b5eb8fe1f4f89b0a873a4ad88f011efe8357e7c052efc800153b8805747e25fbdc1383c19396f4291e06f08d3d756c018a346acbf7a SHA512 (pcp-webapp-blinkenlights-1.0.1.tar.gz) = dadf0bc0742a3344a75f8f304851762572ddc9a5c7c66fd085adcabb70f9e7a9b2c9b6095a8fb358f6a6c64dbf41cf245e2da74a60b8120880f314b6ed3d271c -SHA512 (pcp-webapp-grafana-1.9.1-2.tar.gz) = abd0f360b057853d343e506e352a37d16f78bbae6760124ecdfab0e43ffcf3b31404311f1fe5c962e8abdbf2ad8699df3f27e2920f03f1a10bca3c0e01179e21 SHA512 (pcp-webapp-graphite-0.9.10.tar.gz) = f716e5145e5d39b54be02e39202c51bdd1158d56fa16185a591c0f54fb376a637653f0c13aa9c5ad5700fc62d0c71163e94b9fa689fabe3e6de4ddf19fa827fa SHA512 (pcp-webapp-vector-1.3.1-1.tar.gz) = b1463d4da3727f130752699dd433e997212c19241ac440df389c1153e468ace840b7d5f43a37b2173e4eee4f4a807338a3c40cc9635801e626c1530baf46e289 -SHA512 (pcp-revert-pmlogger_daily-daystart.patch) = b12febf6b7df9a79a225f5aff858b2ef755428349d86181f98da5986c479ab4375ffaa55af3dd749725341e4026fa26d54287f1668f19acbe59ff1c97e16967c -SHA512 (pmcd-pmlogger-local-context.patch) = 8f4b6b49494781d0a711ac27738a75b1adead72cb1baef9a78754686c48ae2d278d691108233e9cf9ad33fede5ba7b7a43f4674205b9bf448f267c844ddc1a01 +SHA512 (pcp-webapp-grafana-1.9.1-2.tar.gz) = abd0f360b057853d343e506e352a37d16f78bbae6760124ecdfab0e43ffcf3b31404311f1fe5c962e8abdbf2ad8699df3f27e2920f03f1a10bca3c0e01179e21