Accepting request 252251 from home:MargueriteSu:branches:devel:languages:nodejs
OBS-URL: https://build.opensuse.org/request/show/252251 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-readdirp?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 10:05:02 UTC 2014 - i@marguerite.su
|
||||
|
||||
- away from npm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 20 18:11:30 UTC 2014 - i@marguerite.su
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define base_name readdirp
|
||||
Name: nodejs-readdirp
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
@@ -23,13 +24,8 @@ Summary: Compile time `with` for strict mode JavaScript
|
||||
License: MIT
|
||||
Group: Development/Languages/Other
|
||||
Url: https://github.com/thlorenz/readdirp
|
||||
Source: readdirp-%{version}.tar.gz
|
||||
Patch: readdirp-remove-dependency-tag.patch
|
||||
Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
|
||||
BuildRequires: nodejs
|
||||
BuildRequires: nodejs-graceful-fs
|
||||
BuildRequires: nodejs-minimatch
|
||||
BuildRequires: nodejs-readable-stream
|
||||
BuildRequires: npm
|
||||
Requires: nodejs-graceful-fs
|
||||
Requires: nodejs-minimatch
|
||||
Requires: nodejs-readable-stream
|
||||
@@ -41,24 +37,18 @@ BuildArch: noarch
|
||||
Recursive version of fs.readdir with streaming api.
|
||||
|
||||
%prep
|
||||
%setup -q -n readdirp-%{version}
|
||||
cp -r package.json ..
|
||||
%patch -p1
|
||||
pushd ..
|
||||
tar -czf %{SOURCE0} readdirp-%{version}
|
||||
popd
|
||||
%setup -q -n package
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%{nodejs_install}
|
||||
|
||||
# manual install original package.json
|
||||
install -m 0644 ../package.json %{buildroot}%{nodejs_modulesdir}/readdirp
|
||||
mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name}
|
||||
cp -pr package.json readdirp.js stream-api.js \
|
||||
%{buildroot}%{nodejs_modulesdir}/%{base_name}/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md LICENSE
|
||||
%{nodejs_modulesdir}/readdirp
|
||||
%doc README.md LICENSE examples
|
||||
%{nodejs_modulesdir}/%{base_name}
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f283a091826b18bdd657b1e8b28c8ecc03a99a33621a5e92ccdae313a1bd9ed
|
||||
size 11788
|
||||
3
readdirp-1.1.0.tgz
Normal file
3
readdirp-1.1.0.tgz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c9d4f77c17bb883e2db9e622ffc4fe0d16c7036590a8ba6d4e0bdcc4e6b57959
|
||||
size 11470
|
||||
@@ -1,16 +0,0 @@
|
||||
Index: readdirp-1.1.0/package.json
|
||||
===================================================================
|
||||
--- readdirp-1.1.0.orig/package.json
|
||||
+++ readdirp-1.1.0/package.json
|
||||
@@ -29,11 +29,6 @@
|
||||
"test-all": "npm run test-main && npm run test-0.8 && npm run test-0.10",
|
||||
"test": "if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"
|
||||
},
|
||||
- "dependencies": {
|
||||
- "graceful-fs": "~2.0.0",
|
||||
- "minimatch": "~0.2.12",
|
||||
- "readable-stream": "~1.0.26-2"
|
||||
- },
|
||||
"devDependencies": {
|
||||
"tap": "~0.4.8",
|
||||
"through2": "~0.4.1"
|
||||
Reference in New Issue
Block a user