Use perl or csh or tcl from inside the spec file?
Red Cricket
red.cricket.blog at gmail.com
Tue Feb 14 22:25:11 UTC 2012
I could of sworn there was a way to do something like this ...
%install #!/usr/SD/perl/bin/perl
my $DESTDIR=$ENV{'RPM_BUILD_ROOT');
my $VAS_STOW_TOP = ".";
my $LICENSE_DIRNAME = "/etc/opt/quest/vas/.licenses";
my $LICENSE_FILENAME = "QAS-100-813-787.txt";
But obviously that is not right as rpmbuild fails with this message:
/var/tmp/rpm-tmp.5HpWke: line 28: syntax error near unexpected token `)'
error: Bad exit status from /var/tmp/rpm-tmp.5HpWke (%install)
Isn't a way to use something besides /bin/sh inside the spec file?
Thanks!
More information about the Rpm-list
mailing list