On 02/14/2012 04:25 PM, Red Cricket wrote:
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?
Not that I know the answer but you have { followed by a ). That ain't
gonna get it in any language.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list