Projects
openEuler:Mainline
nodejs-glob
_service:tar_scm:nodejs-glob.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-glob.spec of Package nodejs-glob
%{?nodejs_find_provides_and_requires} %global enable_tests 1 Name: nodejs-glob Version: 6.0.4 Release: 2 Summary: A little globber for Node.js License: ISC URL: https://github.com/isaacs/node-glob Source0: https://github.com/isaacs/node-glob/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: nodejs-glob-tap.patch BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(tap) npm(inflight) npm(path-is-absolute) npm(rimraf) %endif %description This is a glob implementation in pure JavaScript. It uses the minimatch library to do its matching. %prep %autosetup -p 1 -n node-glob-%{version} %nodejs_fixdep once "^1.1.1" %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/glob cp -pr package.json glob.js sync.js common.js \ %{buildroot}%{nodejs_sitelib}/glob %nodejs_symlink_deps %if 0%{?enable_tests} %check %nodejs_symlink_deps --check %tap test/*.js %endif %files %{!?_licensedir:%global license %doc} %doc README.md examples %license LICENSE %{nodejs_sitelib}/glob %changelog * Tue Jan 05 2020 huanghaitao <huanghaitao8@huawei.com> - 6.0.4-2 - Modify Spec file to make license consistent * Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 6.0.4-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2