Projects
Eulaceura:Mainline
nodejs-arrify
_service:obs_scm:nodejs-arrify.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:nodejs-arrify.spec of Package nodejs-arrify
%global enable_tests 0 %global srcname arrify Name: nodejs-%{srcname} Version: 1.0.1 Release: 1 Summary: Convert a value to an array License: MIT URL: https://www.npmjs.com/package/%{srcname} Source0: https://github.com/sindresorhus/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(ava) %endif %description %{summary}. %prep %autosetup -n %{srcname}-%{version} rm -rf node_modules/ %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} cp -pr index.js package.json \ %{buildroot}%{nodejs_sitelib}/%{srcname} %nodejs_symlink_deps %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' %if 0%{?enable_tests} node test.js %endif %files %doc readme.md %license license %{nodejs_sitelib}/%{srcname} %changelog * Mon Aug 10 2020 wutao <wutao61@huawei.com> - 1.0.1-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