use nodejs-packaging for building

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-readdirp?expand=0&rev=3
This commit is contained in:
2014-10-09 15:17:05 +00:00
committed by Git OBS Bridge
parent 110eb79038
commit 0b68fe79a0
2 changed files with 8 additions and 5 deletions

View File

@@ -25,13 +25,11 @@ License: MIT
Group: Development/Languages/Other
Url: https://github.com/thlorenz/readdirp
Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
BuildRequires: nodejs
Requires: nodejs-graceful-fs
Requires: nodejs-minimatch
Requires: nodejs-readable-stream
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{nodejs_requires}
%nodejs_find_provides_and_requires
%description
Recursive version of fs.readdir with streaming api.