add %nodejs_sitearch macro

This commit is contained in:
T.C. Hollingsworth 2013-01-05 03:26:47 -07:00
parent 658010df73
commit c3da87ea07
2 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,10 @@
# nodejs library directory
%nodejs_sitelib %{_prefix}/lib/node_modules
#arch specific library directory
#for future-proofing only; we don't do multilib
%nodejs_sitearch %{nodejs_sitelib}
# currently installed nodejs version
%nodejs_version %(%{__nodejs} -v | sed s/v//)
@ -17,4 +21,4 @@
# e.g. `%%nodejs_fixdep frobber` makes any version of frobber do
# `%%nodejs_fixdep frobber '>1.0'` requires frobber > 1.0
# `%%nodejs_fixdep -r frobber removes the frobber dep
%nodejs_fixdep %{_rpmconfigdir}/nodejs-fixdep
%nodejs_fixdep %{_rpmconfigdir}/nodejs-fixdep

View File

@ -160,6 +160,7 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
%changelog
* Sat Jan 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-4
- install development headers
- add nodejs_sitearch macro
* Wed Jan 02 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-3
- make nodejs-symlink-deps actually work