package init
This commit is contained in:
parent
ed1b92e3b3
commit
736d045503
BIN
1.0.2.tar.gz
Normal file
BIN
1.0.2.tar.gz
Normal file
Binary file not shown.
40
nodejs-util-deprecate.spec
Normal file
40
nodejs-util-deprecate.spec
Normal file
@ -0,0 +1,40 @@
|
||||
%global module_name util-deprecate
|
||||
|
||||
Name: nodejs-%{module_name}
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
Summary: The Node.js `util.deprecate()` function with browser support
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/TooTallNate/util-deprecate
|
||||
Source0: https://github.com/TooTallNate/util-deprecate/archive/%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
|
||||
BuildRequires: nodejs-packaging
|
||||
|
||||
%description
|
||||
In Node.js, this module simply re-exports the util.deprecate() function.
|
||||
In the web browser (i.e. via browserify), a browser-specific implementation
|
||||
of the util.deprecate() function is used.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{module_name}-%{version}
|
||||
rm -rf node_modules
|
||||
|
||||
%build
|
||||
# nothing to build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
|
||||
cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name}
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/%{module_name}
|
||||
|
||||
%changelog
|
||||
* Wed Aug 12 2020 wangxiao <wangxiao65@huawei.com> - 1.0.2-1
|
||||
- package init
|
||||
5
nodejs-util-deprecate.yaml
Normal file
5
nodejs-util-deprecate.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/TooTallNate/util-deprecate
|
||||
version_control: github
|
||||
src_repo: TooTallNate/util-deprecate
|
||||
tag_prefix: ""
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user