Projects
openEuler:24.03:SP1:Everything
nodejs-sprintf-js
_service:tar_scm:nodejs-sprintf-js.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-sprintf-js.spec of Package nodejs-sprintf-js
%{?nodejs_find_provides_and_requires} %global packagename sprintf-js %global enable_tests 1 Name: nodejs-sprintf-js Version: 1.1.2 Release: 1 Summary: JavaScript sprintf implementation License: BSD-3-Clause URL: https://github.com/alexei/sprintf.js.git Source0: https://github.com/alexei/sprintf.js/archive/%{version}.tar.gz ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: mocha %endif Requires: nodejs %description JavaScript sprintf implementation %prep %setup -q -n sprintf.js-%{version} rm -rf dist/ %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr *.json src/ \ %{buildroot}%{nodejs_sitelib}/%{packagename} %nodejs_symlink_deps %check %nodejs_symlink_deps --check %if 0%{?enable_tests} /usr/bin/mocha -R spec %else %{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" %endif %files %{!?_licensedir:%global license %doc} %doc *.md demo/ %license LICENSE %{nodejs_sitelib}/%{packagename} %changelog * Thu Nov 02 2023 wulei <wu_lei@hoperun.com> - 1.1.2-1 - Update to 1.1.2 * Tue May 10 2022 liyanan <liyanan32@h-partners.com> - 1.1.0-2 - License compliance rectification * Fri Aug 21 2020 wangchong <wangchong56@huawei.com> - 1.1.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