mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-10-18 18:26:13 +00:00
add %nodejs_sitearch macro
This commit is contained in:
parent
658010df73
commit
c3da87ea07
2 changed files with 6 additions and 1 deletions
|
@ -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//)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue