Projects
Mega:24.03:SP1:Everything
nodejs-is-function
_service:tar_scm:nodejs-is-function.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-is-function.spec of Package nodejs-is-function
%{?nodejs_find_provides_and_requires} %global packagename is-function %global enable_tests 1 Name: nodejs-is-function Version: 1.0.2 Release: 1 Summary: Is that thing a function? Use this module to find out License: MIT URL: https://github.com/grncdr/js-is-function.git Source0: https://github.com/grncdr/js-is-function/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(tape) %endif %description Is that thing a function? Use this module to find out %prep %autosetup -n js-is-function-%{version} %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr package.json index.js \ %{buildroot}%{nodejs_sitelib}/%{packagename} %nodejs_symlink_deps %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' %if 0%{?enable_tests} %{_bindir}/tape test.js %else %{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" %endif %files %doc *.md %license LICENSE %{nodejs_sitelib}/%{packagename} %changelog * Fri Nov 03 2023 wulei <wu_lei@hoperun.com> - 1.0.2-1 - Update to 1.0.2 * Thu Aug 20 2020 wangxiao <wangxiao65@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