Mon Oct 13 2025 Tony Camuso <tcamuso@redhat.com> - 25.04-1
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
- 0004/0005 merged upstream
- Replaced patch 0003 (CFLAGS/LDFLAGS override) with 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 -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ,
hardening) without carrying a version-specific patch
Resolves: RHEL-118205