https://bugzilla.redhat.com/show_bug.cgi?id=1170875
lnxslck bqueiros@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bqueiros@gmail.com |
--- Comment #8 from Michel Alexandre Salim michel@michel-slm.name --- (In reply to Ralf Corsepius from comment #6)
(In reply to Michel Alexandre Salim from comment #5)
On that note, what's the difference between ${prefix} and %prefix% ? Thanks.
Let me try to elaborate.
When building, the *.spec receives values/settings from rpm. Inside of the spec, these rpm-provided values are referenced as %{XXXX} and used to propagate them into a package's build process. Here, to "configure", as options being passed to configure. configure interprets/processes these parameters and generates source-files from "*.in" files, substituting all "@name@" patterns with the corresponding values.
<snip>
Ah, whereas the $-prefixed variables are only local to the *.pc itself, and configure doesn't touch them at all! Thanks. I somehow missed the line that hard-coded prefix to /usr and assumed they're two forms of expansions.