!1 package init

Merge pull request !1 from jackie_wu123/master
This commit is contained in:
openeuler-ci-bot 2020-08-21 15:04:01 +08:00 committed by Gitee
commit 73b87f5913
3 changed files with 41 additions and 0 deletions

37
nodejs-osenv.spec Normal file
View File

@ -0,0 +1,37 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-osenv
Version: 0.1.3
Release: 1
Summary: Look up environment settings specific to different operating systems
License: BSD
URL: https://github.com/isaacs/osenv
Source0: https://registry.npmjs.org/osenv/-/osenv-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
BuildRequires: npm(tap) npm(os-homedir) npm(os-tmpdir)
%description
Look up environment settings specific to different operating systems.
%prep
%setup -q -n package
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/osenv
cp -pr package.json osenv.js %{buildroot}%{nodejs_sitelib}/osenv
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%tap test/*.js
%files
%doc README.md
%license LICENSE
%{nodejs_sitelib}/osenv
%changelog
* Mon Aug 17 2020 wutao <wutao61@huawei.com> - 0.1.3-1
- Package init

4
nodejs-osenv.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: isaacs/osenv
tag_prefix: "^v"
seperator: "."

BIN
osenv-0.1.3.tgz Normal file

Binary file not shown.