Reference RPM Macros #663
Answered
by
caarlos0
yabberyabber
asked this question in
Q&A
-
Is it possible to create an NFPM manifest that references RPM macros? When packaging content for fedora it's generally recommended that manifests not hardcode paths like /usr/share and /usr/bin but rather reference macros like ${_sharedir} and ${_bindir}. This gets even more relevant for python and perl rpms where things can go in Is it possible to reference these rpm macros in an nfpm manifest? I've tried it a few different ways and I generally get an install-time error. |
Beta Was this translation helpful? Give feedback.
Answered by
caarlos0
May 25, 2023
Replies: 1 comment
-
its not possible. we use https://github.com/google/rpmpack , which does not support macros either. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
caarlos0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
its not possible.
we use https://github.com/google/rpmpack , which does not support macros either.