nodejs-strip-json-comments/nodejs-strip-json-comments.spec

39 lines
1.1 KiB
RPMSpec
Raw Permalink Normal View History

2020-08-20 13:53:27 +08:00
%{?nodejs_find_provides_and_requires}
Name: nodejs-strip-json-comments
2023-10-31 14:20:53 +08:00
Version: 5.0.1
2020-08-20 13:53:27 +08:00
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
2022-07-05 19:12:46 +08:00
%autosetup -n strip-json-comments-%{version} -p1
2020-08-20 13:53:27 +08:00
%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
2023-10-31 14:20:53 +08:00
* Tue Oct 31 2023 yaoxin <yao_xin001@hoperun.com> - 5.0.1-1
- Upgrade to 5.0.1
2022-07-05 19:12:46 +08:00
* Tue Jul 5 2022 caodongxia <caodongxia@h-partners.com> - 4.0.0-1
- Update to 4.0.0
2020-08-20 13:53:27 +08:00
* Wed Aug 12 2020 wangyue <wangyue92@huawei.com> - 2.0.1-1
- package init