On 24/08/11 16:51, Cristian Rodríguez wrote:
According to max rpm guide. we should have:
RPM_PACKAGE_NAME — This environment variable gets its value from the name tag line in the package's spec file. It contains the name of the software being packaged.
RPM_PACKAGE_VERSION — The version tag line is the source of this variable's translation. Predictably, this environment variable contains the software's version number.
RPM_PACKAGE_RELEASE — This environment variable contains the package's release number. Its value is obtained from the release tag line in the spec file.
However I can't find them in the environment on %post :-|
They are defined, in %prep, %build , %install , %check just not in pre, post...*sigh* -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org