Projects
Eulaceura:Mainline:GA
nodejs-generate-function
_service:obs_scm:nodejs-generate-function.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:nodejs-generate-function.spec of Package nodejs-generate-function
%global enable_tests 1 %global srcname generate-function %global commit0 3d5fc8de5859be95f58e3af9bfb5f663edd95149 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: nodejs-%{srcname} Version: 2.0.0 Release: 1 Summary: Module that helps you write generated functions in Node License: MIT URL: https://github.com/mafintosh/generate-function Source0: https://github.com/mafintosh/generate-function/archive/v%{version}.tar.gz Source1: https://raw.githubusercontent.com/mafintosh/generate-function/master/LICENSE BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(tape) %endif %description %{summary}. %prep %autosetup -n generate-function-%{version} cp -p %{SOURCE1} . rm -rf node_modules %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} cp -pr package.json index.js \ %{buildroot}%{nodejs_sitelib}/%{srcname} %nodejs_symlink_deps %if 0%{?enable_tests} %check %nodejs_symlink_deps --check tape test.js %endif %files %doc README.md example.js %license LICENSE %{nodejs_sitelib}/%{srcname} %changelog * Fri Aug 28 2020 Anan Fu <fuanan3@huawei.com> - 2.0.0-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