Accepting request 250376 from home:MargueriteSu:branches:devel:languages:nodejs
OBS-URL: https://build.opensuse.org/request/show/250376 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-readdirp?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
||||||
5
nodejs-readdirp.changes
Normal file
5
nodejs-readdirp.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 20 18:11:30 UTC 2014 - i@marguerite.su
|
||||||
|
|
||||||
|
- initial version 1.1.0
|
||||||
|
|
||||||
64
nodejs-readdirp.spec
Normal file
64
nodejs-readdirp.spec
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
#
|
||||||
|
# spec file for package nodejs-readdirp
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: nodejs-readdirp
|
||||||
|
Version: 1.1.0
|
||||||
|
Release: 0
|
||||||
|
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
|
||||||
|
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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
%{nodejs_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
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
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{nodejs_install}
|
||||||
|
|
||||||
|
# manual install original package.json
|
||||||
|
install -m 0644 ../package.json %{buildroot}%{nodejs_modulesdir}/readdirp
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{nodejs_modulesdir}/readdirp
|
||||||
|
|
||||||
|
%changelog
|
||||||
3
readdirp-1.1.0.tar.gz
Normal file
3
readdirp-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0f283a091826b18bdd657b1e8b28c8ecc03a99a33621a5e92ccdae313a1bd9ed
|
||||||
|
size 11788
|
||||||
16
readdirp-remove-dependency-tag.patch
Normal file
16
readdirp-remove-dependency-tag.patch
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
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