Projects
openEuler:24.03:SP1:Everything
nodejs-ejs
_service:tar_scm:nodejs-ejs.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-ejs.spec of Package nodejs-ejs
%{?nodejs_find_provides_and_requires} %global enable_tests 1 Name: nodejs-ejs Version: 1.0.0 Release: 2 Summary: Embedded JavaScript templates for Node.js License: MIT URL: https://github.com/tj/ejs Source0: https://github.com/tj/ejs/archive/%{version}.tar.gz Patch0: nodejs-ejs_fix-should-syntax.patch BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch ExclusiveArch: %{ix86} x86_64 %{arm} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(mocha) npm(should) %endif %description %{summary}. %prep %autosetup -n ejs-%{version} -p1 %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/ejs cp -pr package.json ejs.js ejs.min.js index.js lib/ \ %{buildroot}%{nodejs_sitelib}/ejs %nodejs_symlink_deps %if 0%{?enable_tests} %check %nodejs_symlink_deps --check %{nodejs_sitelib}/mocha/bin/mocha --require should --reporter spec %endif %files %doc History.md Readme.md examples/ %{nodejs_sitelib}/ejs %changelog * Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.0.0-2 - %prep no longer patch with git * Tue Aug 18 2020 Anan Fu <fuanan3@huawei.com> - 1.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