Skip to content

check for rpmlib version #2841

Answered by pmatilai
oliverkurth asked this question in Q&A
Jan 11, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

You can test for symbol existence without it being a macro too, details depend on the buildsystem of your project.
The rpm (not library) version is exposed via RPMVERSION (and rpmEVR) variable when you include rpm/rpmlib.h, but version based checks are best avoided.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by pmatilai
Comment options

You must be logged in to vote
2 replies
@pmatilai
Comment options

@oliverkurth
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2840 on January 12, 2024 08:41.