add %nodejs_default_filter macro to remove unwanted Provides from native module shared objects

This commit is contained in:
T.C. Hollingsworth 2013-03-31 17:03:32 -07:00
parent ab33fe1ceb
commit 7cb1934a64
2 changed files with 6 additions and 0 deletions

View File

@ -22,3 +22,8 @@
# `%%nodejs_fixdep frobber '>1.0'` requires frobber > 1.0 # `%%nodejs_fixdep frobber '>1.0'` requires frobber > 1.0
# `%%nodejs_fixdep -r frobber removes the frobber dep # `%%nodejs_fixdep -r frobber removes the frobber dep
%nodejs_fixdep %{_rpmconfigdir}/nodejs-fixdep %nodejs_fixdep %{_rpmconfigdir}/nodejs-fixdep
# macro to filter unwanted provides from Node.js binary native modules
%nodejs_default_filter %{expand: \
%global __provides_exclude_from ^%{nodejs_sitearch}/.*\\.node$
}

View File

@ -193,6 +193,7 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
http://blog.nodejs.org/2013/03/28/node-v0-10-2-stable/ http://blog.nodejs.org/2013/03/28/node-v0-10-2-stable/
- remove %%nodejs_arches macro since it will only be useful if it is present in - remove %%nodejs_arches macro since it will only be useful if it is present in
the redhat-rpm-config package the redhat-rpm-config package
- add default filtering macro to remove unwanted Provides from native modules
* Fri Mar 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.1-1 * Fri Mar 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.1-1
- new upstream release 0.10.1 - new upstream release 0.10.1