On Fri, Jan 3, 2014 at 7:35 AM, Troy Dawson <[email protected]> wrote: > Hi T.C. > What was the outcome of this.
This was a transient buildroot issue which has been resolved. Your issue is different. > I just barely noticed that none of my el6 nodejs packages have a > Provides: npm(<package>) > The same packages have the proper provides on all Fedora packages. > I looked through the nodejs packaging guidelines [0] and it says > > "The nodejs package includes an automatic Requires and Provides generator > that automatically adds versioned dependencies based on the information > provided in a module's package.json file. > > It also adds virtual provides in the form npm(<module name>) to identify > modules listed in the npm registry (the module is listed at npmjs.org) ... " > > Can we either get things fixed in EL6 (my preference) or update the > documentation. Your spec files seem to be missing the %nodejs_find_provides_and_requires macro. It is necessary to invoke the generators manually on RHEL 6, because rpm < 4.9 doesn't support the fileattrs mechanism for automatically running Provides/Requires generators based on the presence of paths matching regexes in binary RPMs. But I can't exactly blame you for not realizing this, since that seems to have not made it into the official guidelines! FPC approved an update to the guidelines that included this and other fixes five months ago [1], but they seem to have never merged my requested changes into the offiical copy. :-( I'll see if I can prod FPC into getting the official copy updated with the new text they've already approved, but in the interim I suggest everyone refer to the draft. [2] -T.C. [1] https://fedorahosted.org/fpc/ticket/311 [2] https://fedoraproject.org/wiki/User:Patches/PackagingDrafts/NodeJS _______________________________________________ nodejs mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/nodejs
