From c3da87ea074fde4f6ba7b7369fa9f26dc58f9664 Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Sat, 5 Jan 2013 03:26:47 -0700 Subject: [PATCH] add %nodejs_sitearch macro --- macros.nodejs | 6 +++++- nodejs.spec | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/macros.nodejs b/macros.nodejs index da625a2..75393a6 100644 --- a/macros.nodejs +++ b/macros.nodejs @@ -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 \ No newline at end of file +%nodejs_fixdep %{_rpmconfigdir}/nodejs-fixdep diff --git a/nodejs.spec b/nodejs.spec index cae3029..63f2c45 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -160,6 +160,7 @@ cp -p common.gypi %{buildroot}%{_datadir}/node %changelog * Sat Jan 05 2013 T.C. Hollingsworth - 0.9.5-4 - install development headers +- add nodejs_sitearch macro * Wed Jan 02 2013 T.C. Hollingsworth - 0.9.5-3 - make nodejs-symlink-deps actually work