!1 package init

Merge pull request !1 from wang_yue111/master
This commit is contained in:
openeuler-ci-bot 2020-08-21 00:05:02 +08:00 committed by Gitee
commit 4335f2b2b8
3 changed files with 38 additions and 0 deletions

33
nodejs-should-type.spec Normal file
View File

@ -0,0 +1,33 @@
Name: nodejs-should-type
Version: 0.2.0
Release: 1
Summary: Simple module to get instance type
License: MIT
URL: https://github.com/shouldjs/type
Source0: https://registry.npmjs.org/should-type/-/should-type-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
%description
Simple module to get instance type. Like a bit more advanced version of typeof.
%prep
%setup -q -n package
sed -i 's/\r$//' README.md
rm -rf node_modules
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/should-type
cp -pr package.json index.js types.js %{buildroot}%{nodejs_sitelib}/should-type
%nodejs_symlink_deps
%files
%doc README.md
%license LICENSE
%{nodejs_sitelib}/should-type
%changelog
* Wed Aug 12 2020 wangyue <wangyue92@huawei.com> - 0.2.0-1
- package init

5
nodejs-should-type.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/shouldjs/type
version_control: github
src_repo: shouldjs/type
tag_prefix: "^"
seperator: "."

BIN
should-type-0.2.0.tgz Normal file

Binary file not shown.