Accepting request 252301 from home:MargueriteSu:branches:devel:languages:nodejs

OBS-URL: https://build.opensuse.org/request/show/252301
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-character-parser?expand=0&rev=2
This commit is contained in:
2014-09-25 14:53:38 +00:00
committed by Git OBS Bridge
parent 082ba58baf
commit d042cba27f
4 changed files with 15 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:188ee450abd04ca01700a55f7d8174082952c793416fb68ca39440dbc1dbb8ca
size 5071

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc72869d058bff63fabf27d650fea6f1d31b5dbf49c89b0873399eed8c988f00
size 4464

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 25 13:57:14 UTC 2014 - i@marguerite.su
- away from npm
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 20 18:30:38 UTC 2014 - i@marguerite.su Sat Sep 20 18:30:38 UTC 2014 - i@marguerite.su

View File

@@ -16,6 +16,7 @@
# #
%define base_name character-parser
Name: nodejs-character-parser Name: nodejs-character-parser
Version: 1.2.1 Version: 1.2.1
Release: 0 Release: 0
@@ -23,9 +24,8 @@ Summary: Parse JavaScript one character at a time to look for snippets in
License: MIT License: MIT
Group: Development/Languages/Other Group: Development/Languages/Other
Url: https://github.com/ForbesLindesay/character-parser Url: https://github.com/ForbesLindesay/character-parser
Source: character-parser-%{version}.tar.gz Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
BuildRequires: nodejs BuildRequires: nodejs
BuildRequires: npm
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%{nodejs_requires} %{nodejs_requires}
@@ -36,16 +36,18 @@ Templates. This is not a validator, it's just designed to allow
you to have sections of JavaScript delimited by brackets robustly. you to have sections of JavaScript delimited by brackets robustly.
%prep %prep
%setup -q -n character-parser-%{version} %setup -q -n package
%build %build
%install %install
%{nodejs_install} mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name}
cp -pr package.json index.js \
%{buildroot}%{nodejs_modulesdir}/%{base_name}/
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE README.md %doc LICENSE README.md
%{nodejs_modulesdir}/character-parser %{nodejs_modulesdir}/%{base_name}
%changelog %changelog