title: How would I make "read" command work in RPM spec file?
body: <p>I wrote a SPEC file to build RPM package. I need to let end user to determine the value of an variable in the <code>%pre</code> section. So I use "read  &lt; my_variable >" command in the <code>%pre</code> section. But, when installing, the "read" command seems ignored by system, because the system didn't wait for me to enter the value. Why? and Is there any good method to do the above thing?</p>