Skip to content

make-srpm.sh: update cmake macros and deps for cmake4#238

Merged
sfowl merged 1 commit intomainfrom
cmake4
Feb 24, 2026
Merged

make-srpm.sh: update cmake macros and deps for cmake4#238
sfowl merged 1 commit intomainfrom
cmake4

Conversation

@sfowl
Copy link
Contributor

@sfowl sfowl commented Feb 20, 2026

It seems %cmake4 macros are no longer provided in
rawhide, nor is there a Provides: cmake4.

https://fedoraproject.org/wiki/Changes/CMake4.0

Copy link
Member

@kdudka kdudka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! One minor comment inline.

@kdudka
Copy link
Member

kdudka commented Feb 23, 2026

@sfowl Looks good from upstream point of view. Please note that we (in fact you) still build csdiff for epel7 in the RH internal COPR.

I can see a successful build of csdiff-3.5.5.20251027.103708.g2791d44 for epel7 from November 2025. So please double check that this will not break anything that you might need internally.

It seems %cmake4 macros are no longer provided in
rawhide, nor is there a `Provides: cmake4`.

For now we still need the ability to build for
EPEL7, where unversioned cmake will resolve to v2,
so conditionally we still use v3.

https://fedoraproject.org/wiki/Changes/CMake4.0
@sfowl
Copy link
Contributor Author

sfowl commented Feb 24, 2026

@sfowl Looks good from upstream point of view. Please note that we (in fact you) still build csdiff for epel7 in the RH internal COPR.

I can see a successful build of csdiff-3.5.5.20251027.103708.g2791d44 for epel7 from November 2025. So please double check that this will not break anything that you might need internally.

Very good point, I overlooked this. For now I think we need to keep the ability to build for epel7, so I've added conditional use of cmak3 vs cmake.

EDIT: I re-requested review because this change is significant

Copy link
Member

@kdudka kdudka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for the update!

@sfowl sfowl merged commit a950756 into main Feb 24, 2026
40 checks passed
@sfowl sfowl deleted the cmake4 branch February 24, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants