package nit
This commit is contained in:
parent
0e7bb1f745
commit
2aec1f92fa
32
nodejs-strip-json-comments.spec
Normal file
32
nodejs-strip-json-comments.spec
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
%{?nodejs_find_provides_and_requires}
|
||||||
|
Name: nodejs-strip-json-comments
|
||||||
|
Version: 2.0.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Strip comments from JSON
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/sindresorhus/strip-json-comments
|
||||||
|
Source: https://github.com/sindresorhus/strip-json-comments/archive/v%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
%description
|
||||||
|
Strip comments from JSON. Lets you use comments in your JSON files!
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n strip-json-comments-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/strip-json-comments
|
||||||
|
cp -pr package.json index.js \
|
||||||
|
%{buildroot}%{nodejs_sitelib}/strip-json-comments
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc readme.md license
|
||||||
|
%{nodejs_sitelib}/strip-json-comments
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Aug 12 2020 wangyue <wangyue92@huawei.com> - 2.0.1-1
|
||||||
|
- package init
|
||||||
5
nodejs-strip-json-comments.yaml
Normal file
5
nodejs-strip-json-comments.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/sindresorhus/strip-json-comments
|
||||||
|
version_control: github
|
||||||
|
src_repo: sindresorhus/strip-json-comments
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
BIN
v2.0.1.tar.gz
Normal file
BIN
v2.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user