Projects
Eulaceura:Factory
nodejs-clone
_service:obs_scm:nodejs-clone.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:nodejs-clone.spec of Package nodejs-clone
%global enable_tests 1 %global srcname clone Name: nodejs-%{srcname} Version: 1.0.2 Release: 1 Summary: Deep cloning of objects and arrays License: MIT URL: https://github.com/pvorb/clone Source0: https://github.com/pvorb/clone/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: nodeunit npm(underscore) %endif %description Offers foolproof deep cloning of variables in JavaScript. %prep %autosetup -n clone-%{version} rm -rf node_modules/ %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} cp -pr package.json clone.js %{buildroot}%{nodejs_sitelib}/%{srcname} %nodejs_symlink_deps %if 0%{?enable_tests} %check %nodejs_symlink_deps --check nodeunit test.js %endif %files %doc README.md %license LICENSE %{nodejs_sitelib}/%{srcname} %changelog * Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 1.0.2-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