commit
73b87f5913
37
nodejs-osenv.spec
Normal file
37
nodejs-osenv.spec
Normal 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
4
nodejs-osenv.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: isaacs/osenv
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
BIN
osenv-0.1.3.tgz
Normal file
BIN
osenv-0.1.3.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user