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

OBS-URL: https://build.opensuse.org/request/show/252255
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-void-elements?expand=0&rev=2
This commit is contained in:
2014-09-25 10:18:43 +00:00
committed by Git OBS Bridge
parent 8f12b48ae3
commit b4edbf0efa
4 changed files with 15 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 25 10:12:11 UTC 2014 - i@marguerite.su
- away from npm
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 20 18:01:26 UTC 2014 - i@marguerite.su Sat Sep 20 18:01:26 UTC 2014 - i@marguerite.su

View File

@@ -16,6 +16,7 @@
# #
%define base_name void-elements
Name: nodejs-void-elements Name: nodejs-void-elements
Version: 1.0.0 Version: 1.0.0
Release: 0 Release: 0
@@ -23,9 +24,8 @@ Summary: Array of "void elements" defined by the HTML specification
License: MIT License: MIT
Group: Development/Languages/Other Group: Development/Languages/Other
Url: https://github.com/hemanth/void-elements Url: https://github.com/hemanth/void-elements
Source: void-elements-%{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}
@@ -34,16 +34,18 @@ BuildArch: noarch
Array of "void elements" defined by the HTML specification. Array of "void elements" defined by the HTML specification.
%prep %prep
%setup -q -n void-elements-%{version} %setup -q -n package
%build %build
%install %install
%{nodejs_install} mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name}
cp -pr package.json index.js pre-publish.js \
%{buildroot}%{nodejs_modulesdir}/%{base_name}/
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE README.md %doc LICENSE README.md
%{nodejs_modulesdir}/void-elements %{nodejs_modulesdir}/%{base_name}
%changelog %changelog

View File

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

3
void-elements-1.0.0.tgz Normal file
View File

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