package init
This commit is contained in:
parent
a87a847623
commit
43d8e2389d
33
nodejs-should-type.spec
Normal file
33
nodejs-should-type.spec
Normal 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
5
nodejs-should-type.yaml
Normal 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
BIN
should-type-0.2.0.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user