Skip to content

4.19.1.1: rpmbuild --undefine foo is not working #2939

Closed Answered by pmatilai
kloczek asked this question in Q&A
Discussion options

You must be logged in to vote

--define and --undefine execute long before the spec is parsed, so while they can affect the way a spec is parsed, neither can affect a macro defined inside a spec.

Replies: 6 comments 1 reply

Comment options

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

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pmatilai
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2923 on February 28, 2024 11:58.