Article 4RJT3 RPM and display rpm variables

RPM and display rpm variables

by
thx113
from LinuxQuestions.org on (#4RJT3)
Hi

I am currently building an RPM file from a spec file
I would like to display some information when executing the package
I used the %define command to set some variables such as a path for instance : %define _path XXXXX

Of course if I use an echo "XXXX" it will work
but Is is possible to display from the %{_path} variable ?
The echo %{_path} display "%{_path}" and not the data XXXX

I assume there is a trick somewhere

Cheerslatest?d=yIl2AUoC8zA latest?i=WOBG4jhTRcI:ayoHB5gkbJU:F7zBnMy latest?i=WOBG4jhTRcI:ayoHB5gkbJU:V_sGLiP latest?d=qj6IDK7rITs latest?i=WOBG4jhTRcI:ayoHB5gkbJU:gIN9vFwWOBG4jhTRcI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments