38 lines
1.0 KiB
RPMSpec
38 lines
1.0 KiB
RPMSpec
%{?nodejs_find_provides_and_requires}
|
|
Name: nodejs-debug
|
|
Version: 2.6.9
|
|
Release: 2
|
|
Summary: A small debugging utility for Node.js
|
|
License: MIT
|
|
URL: https://github.com/visionmedia/debug
|
|
Source0: https://registry.npmjs.org/debug/-/debug-%{version}.tgz
|
|
BuildArch: noarch
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
BuildRequires: nodejs-packaging
|
|
%description
|
|
This module is a tiny Node.js debugging utility modeled after node core's
|
|
debugging technique.
|
|
|
|
%prep
|
|
%setup -q -n package
|
|
%nodejs_fixdep ms "^2.0.0"
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/debug
|
|
cp -pr package.json node.js src %{buildroot}%{nodejs_sitelib}/debug
|
|
%nodejs_symlink_deps
|
|
|
|
%files
|
|
%doc README.md CHANGELOG.md
|
|
%license LICENSE
|
|
%{nodejs_sitelib}/debug
|
|
|
|
%changelog
|
|
* Thu Nov 26 2020 caodongxia <caodongxia@huawei.com> - 2.6.9-2
|
|
- Delete file nodejs-debug.spec.old
|
|
|
|
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 2.6.9-1
|
|
- package init
|