From de25986db06e800b1c4f7caeb20972ee07041026 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 1 Aug 2024 11:31:55 +1000 Subject: [PATCH] build: spec dependency on ps, java bytecode update Resolves: RHEL-39491 Resolves: RHEL-40718 --- pcp.spec | 14 +++++++++++--- ...-issues-RHEL-40718-java-bytecode-update.patch | Bin 0 -> 3401 bytes 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 redhat-issues-RHEL-40718-java-bytecode-update.patch diff --git a/pcp.spec b/pcp.spec index 6fbc276..99f84ec 100644 --- a/pcp.spec +++ b/pcp.spec @@ -1,6 +1,6 @@ Name: pcp Version: 6.2.2 -Release: 4%{?dist} +Release: 5%{?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 @@ -12,6 +12,7 @@ Patch1: redhat-issues-RHEL-2317-default-archive-version.patch Patch2: redhat-issues-RHEL-30198-pmcd-logdir-tmpfiles.patch Patch3: revert-time64_t-i386.patch Patch4: redhat-issues-39159-39132-32983-39293.patch +Patch5: redhat-issues-RHEL-40718-java-bytecode-update.patch %if 0%{?fedora} >= 40 || 0%{?rhel} >= 10 ExcludeArch: %{ix86} @@ -27,11 +28,13 @@ ExcludeArch: %{ix86} %global __python2 python %endif -# UsrMerge was completed in EL 7, however the latest 'hostname' package in EL 7 contains "Provides: /bin/hostname" +# UsrMerge was completed in EL 7, however the latest 'hostname' package in EL 7 contains "Provides: /bin/hostname". Likewise for /bin/ps from procps[-ng] packages. %if 0%{?rhel} >= 8 || 0%{?fedora} >= 17 %global _hostname_executable /usr/bin/hostname +%global _ps_executable /usr/bin/ps %else %global _hostname_executable /bin/hostname +%global _ps_executable /bin/ps %endif %global disable_perl 0 @@ -301,6 +304,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) perl(JSON) BuildRequires: perl(Time::HiRes) perl(Digest::MD5) BuildRequires: perl(XML::LibXML) perl(File::Slurp) BuildRequires: %{_hostname_executable} +BuildRequires: %{_ps_executable} %if !%{disable_systemd} BuildRequires: systemd-devel %endif @@ -317,7 +321,7 @@ BuildRequires: qt5-qtsvg-devel # Utilities used indirectly e.g. by scripts we install Requires: bash xz gawk sed grep coreutils diffutils findutils -Requires: which %{_hostname_executable} +Requires: which %{_hostname_executable} %{_ps_executable} Requires: pcp-libs = %{version}-%{release} %if !%{disable_selinux} @@ -3539,6 +3543,10 @@ fi %files zeroconf -f pcp-zeroconf-files.rpm %changelog +* Thu Aug 1 2024 Nathan Scott - 6.2.2-5 +- Add rpm dependency on package providing ps(1) tool (RHEL-39491) +- Update Java bytecode in pcp-testasuite package (RHEL-40718) + * Sun Jul 7 2024 Lauren Chilton - 6.2.2-4 - Removed excess headers for pcp2openmetrics tool (RHEL-39159) - Fix pcp2openmetrics '-s' option (RHEL-39132) diff --git a/redhat-issues-RHEL-40718-java-bytecode-update.patch b/redhat-issues-RHEL-40718-java-bytecode-update.patch new file mode 100644 index 0000000000000000000000000000000000000000..e28188654249d91a3bc53823427a3571621baefa GIT binary patch literal 3401 zcmcImTT|Oc6h86=VIeT#ns8liiNOd<#s=(=44o#OKna}zk`8TOWLXYQZOM`4G=1z$ ze@9<=&P*GaW~M)&Z~X~&-d+jWZ30$(PcTkV5Bz+ z86%fc^BFarUQ6dQ`g&$Hl{N~=jrEN+HJ47NR;5pB?y>D;*`Dqm>lQmOY}aL*me;Fp zIcEM?cUKI%d|!H?yJnU#_NAF;JGBzi)|sYeQ<X0rW94|kQ6x~^?VQodLyFlA4#ITcnhD$3eQ5?|XXK1;mN6MXT+p;>jGSVbIz z@1im5iV2dUD2+*-LPc=wRYlVjZ4KGTrnT&9W(7I$Kgb6XBE{qJMzkxIB5$dL!VOaP_ zir0tl(VP^g00l(~$rPq8f%?6)lyvJ^;)~pK({Kgq+AJbN_XP^Z7N7D!5fLF|>LFR6 z?u!iKu~aOWZn10%By7K1i(vz|XiTJWJao~7NRuK>i8Ou5p=q5^Y_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