I am using maven rpm plugin. My rpm is just kind of zip which can be extracted to different environment variables for example dev , prod etc
I want to fail rpm install if there is no environment variable called install-env
Secondly how can I read and use this environment variable inside install script which is used by rpm.
Thanks