commit
24b38c4a35
BIN
has-unicode-2.0.1.tgz
Normal file
BIN
has-unicode-2.0.1.tgz
Normal file
Binary file not shown.
38
nodejs-has-unicode.spec
Normal file
38
nodejs-has-unicode.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-has-unicode
|
||||
Version: 2.0.1
|
||||
Release: 1
|
||||
Summary: Try to guess if your terminal supports unicode
|
||||
License: ISC
|
||||
URL: https://github.com/iarna/has-unicode
|
||||
Source0: https://registry.npmjs.org/has-unicode/-/has-unicode-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
BuildRequires: npm(tap) npm(require-inject)
|
||||
%description
|
||||
Try to guess if your terminal supports unicode.
|
||||
|
||||
%prep
|
||||
%autosetup -n package
|
||||
rm -rf node_modules
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/has-unicode
|
||||
cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/has-unicode
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
%tap test/*.js
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/has-unicode
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 yaokai <yaokai13@huawei.com> - 2.0.1-1
|
||||
- Package init
|
||||
4
nodejs-has-unicode.yaml
Normal file
4
nodejs-has-unicode.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: iarna/has-unicode
|
||||
tag_pattern: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user