Show Spec Macros
rpm --showrc rpm --eval %{_tmppath} rpm --eval %{_libdir}
Variables
${LINUX_VERSION} # shell environment var %{LINUX_VERSION} # marco var %define LINUX_VERSION ${LINUX_VERSION} # ${LINUX_VERSION} not evaluated %define LINUX_VERSION $(echo ${LINUX_VERSION}) # evaluated ${LINUX_VERSION}= 2.6.32.1
No comments:
Post a Comment