2008/12/30 Ariel Constenla-Haile <[email protected]>: [..] > > I think that in your rpm version, the buildroot in the spec is ignored > (as said in http://www.rpm.org/wiki/Releases/4.6.0 "BuildRoot tag in > spec files is ignored. ") *but* the command in OOo > (http://svn.services.openoffice.org/opengrok/xref/DEV300_m37/solenv/bin/modules/installer/epmfile.pm#2475) > does not specify the buildroot explicitly with an absolute path (no > --buildroot=DIRECTORY), it assumes it's read from the spec file (-bb > $specfilename ). > [..]
Thanks Ariel. + my $dir = getcwd; + my $buildroot = $dir . "/" . $epmdir . "buildroot/"; - my $systemcall = "$rpmcommand -bb $specfilename --target $target 2\>\&1 |" + my $systemcall = "$rpmcommand -bb $specfilename --target $target --buildroot=$buildroot 2\>\&1 |"; in epmfile.pm makes this works, until corresponding issue is filed. Don't consider this as a patch though. :) This file also requires changes from http://qa.openoffice.org/issues/show_bug.cgi?id=84787 to fix libnss3 issue for fedora. -- rakesh --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
