Fri Oct 24 2025 Tony Camuso <tcamuso@redhat.com> - 25.04-1
- Update to latest upstream.
- Clean up install paths, drop obsolete patches, and improve flag injection
handling
- Replaced hard-coded install paths in Makefiles with sed-based DESTDIR
fixes for lib, pqos, rdtset, and membw
- Using sed during %prep is more robust and version-agnostic than patching,
which requires rebasing each release
- Relocated admin tools (pqos*, rdtset) from /usr/bin to /usr/sbin for FHS
compliance
- These tools require root and interact with system-level cache controls
- Updated %files to match SONAME bump (libpqos.so.5 -> libpqos.so.6) introduced
upstream
- Dropped patches 0001, 0002, 0004, 0005
- 0001/0002 replaced by sed
- Ensure CFLAGS and LDFLAGS are augmented, not overridden by using sed to
convert assignments to +=
- Ensures compatibility with distro-injected flags (e.g. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection,
hardening) without carrying a version-specific patch
Resolves: RHEL-122380