add %nodejs_sitearch macro
This commit is contained in:
parent
658010df73
commit
c3da87ea07
@ -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
|
||||
|
@ -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 New Issue
Block a user