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 library directory
%nodejs_sitelib %{_prefix}/lib/node_modules %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 # currently installed nodejs version
%nodejs_version %(%{__nodejs} -v | sed s/v//) %nodejs_version %(%{__nodejs} -v | sed s/v//)

View File

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