2 Summary: A list of objects bound by prototype chain
7 Group: Development/Libraries
8 URL: https://github.com/isaacs/proto-list
9 Source0: http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
10 # Source0-md5: ecd652b4aa9724ee1ca902599dd8deac
11 #BuildRequires: nodejs-tap
12 BuildRequires: rpmbuild(macros) >= 1.634
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 A list of objects bound by prototype chain. Used for the Node.js
19 package manager (npm) configuration.
26 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
29 cp -p %{pkg}.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
31 # We currently don't run tests because I'd have to file another ten or
32 # so review reuqests for the node.js TAP testing framework and methinks there
33 # are enough of those for now. ;-)
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %doc LICENSE README.md
43 %{nodejs_libdir}/%{pkg}