Fix build on older RHEL and CentOS release - #2690
Conversation
Older RHEL and CentOS releases do not support 'Recommends' directive.
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe RPM specifications now recommend ChangesRPM packaging
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@build/rpm/redhat.spec`:
- Around line 3552-3553: Update the changelog entry for version 7.2.1-1 in the
RPM spec to use the actual package release date, replacing the future-dated
August 14, 2026 value while preserving the existing release notes.
- Around line 3552-3553: Update the RPM changelog in build/rpm/redhat.spec by
preserving the existing 7.2.0-2 release entry and appending the new 7.2.1-1
entry above it, maintaining the prior release history and changelog ordering.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Repository UI (inherited), Organization UI (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: 3153d389-b1c2-46a1-8725-3a262ce259b1
📒 Files selected for processing (2)
build/rpm/pcp.spec.inbuild/rpm/redhat.spec
Older RHEL and CentOS releases do not support
Recommendsdirective.