How to execute command from spec file
I am installing one application installation setup in SUSE 10.2 which can get successful if I execute from command line, but get failed if I execute the same command from post section of spec file.
As I know if there are pre and post section in spec file then while installing rpm, it generates the pre and post scripts in /var/tmp folder for execution. Installation gets passed if I execute the script manually but failed from post section of the spec file.
Can you suggest why this is happening?