Commit Graph

10 Commits

Author SHA1 Message Date
T.C. Hollingsworth
7cb1934a64 add %nodejs_default_filter macro to remove unwanted Provides from native module shared objects 2013-03-31 18:58:26 -07:00
T.C. Hollingsworth
ab33fe1ceb remove %%nodejs_arches macro
it will only be useful if it is present in the redhat-rpm-config package
2013-03-31 16:49:55 -07:00
T.C. Hollingsworth
acc9dc4070 improve native module handling
- add virtual ABI provides for node and v8 so binary module's deps break when
  binary compatibility is broken
- automatically add matching Requires to nodejs binary modules
- add %%nodejs_arches macro to future-proof ExcluseArch stanza in dependent
  packages
2013-03-12 18:29:17 -07:00
T.C. Hollingsworth
a3faf37d42 revert to %{_rpmconfigdir} for RPM helper scripts
per discussion with wider FPC
2013-01-23 12:50:13 -07:00
T.C. Hollingsworth
4e5a2f6e67 minor bugfixes to RPM magic
- nodejs-symlink-deps: don't create an empty node_modules dir when a module
    has no dependencies
  - nodes-fixdep: support adding deps when none exist
- use libexecdir for RPM helper scripts (per packaging guidelines discussion)
- Add the full set of headers usually bundled with node as deps to nodejs-devel.
  This way `npm install` for native modules that assume the stuff bundled with
  node exists will usually "just work".
2013-01-22 13:46:01 -07:00
T.C. Hollingsworth
c3da87ea07 add %nodejs_sitearch macro 2013-01-05 03:26:47 -07:00
T.C. Hollingsworth
e69a9d539d make %nodejs_symlink_deps actually work
module packaging stuff is now complete (for pure-JS modules anyway)
and npm reviews will be filed shortly :-)
2013-01-02 00:05:33 -07:00
T.C. Hollingsworth
753bbecb1d add %nodejs_fixdep macro 2013-01-01 18:01:34 -07:00
T.C. Hollingsworth
db8a0a99d8 fix minor bugs in RPM magic 2013-01-01 17:46:31 -07:00
T.C. Hollingsworth
5517869d46 add missing macros file 2012-12-27 17:01:35 -07:00