Projects
openEuler:24.03:SP1:Everything
nodejs-for-each
_service:tar_scm:nodejs-for-each.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-for-each.spec of Package nodejs-for-each
%{?nodejs_find_provides_and_requires} %global packagename for-each %global enable_tests 1 Name: nodejs-for-each Version: 0.3.3 Release: 1 Summary: A better forEach License: MIT URL: https://github.com/Raynos/for-each Source0: https://github.com/Raynos/for-each/archive/v%{version}/%{packagename}-%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging npm(is-function) %if 0%{?enable_tests} BuildRequires: npm(tape) %endif %description A better forEach %prep %autosetup -n %{packagename}-%{version} -p1 %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} %{__nodejs} test/test.js %else %{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" %endif %files %doc *.md %license LICENSE %{nodejs_sitelib}/%{packagename} %changelog * Thu Nov 09 2023 yaoxin <yao_xin001@hoperun.com> - 0.3.3-1 - Upgrade to 0.3.3 * Thu Nov 26 2020 leiju <leiju4@huawei.com> - 0.3.2-2 - delete nodejs-for-each.spec.old redundancy file * Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 0.3.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