Projects
Eulaceura:Mainline
nodejs-diff
_service:obs_scm:nodejs-diff.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:nodejs-diff.spec of Package nodejs-diff
%{?nodejs_find_provides_and_requires} %global enable_tests 1 Name: nodejs-diff Version: 1.0.8 Release: 1 Summary: A JavaScript text diff implementation for Node.js License: BSD URL: https://github.com/kpdecker/jsdiff Source0: https://github.com/kpdecker/jsdiff/archive/v%{version}.tar.gz Source10: dl-tests.sh BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch ExclusiveArch: %{ix86} x86_64 %{arm} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(colors) npm(mocha) npm(should) %endif %description %{summary} %prep %autosetup -n jsdiff-%{version} %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/diff cp -pr package.json diff.js \ %{buildroot}%{nodejs_sitelib}/diff %nodejs_symlink_deps %if 0%{?enable_tests} %check %{nodejs_sitelib}/mocha/bin/mocha test/*.js %endif %files %doc README.md %{nodejs_sitelib}/diff %changelog * Tue Aug 18 2020 Anan Fu <fuanan3@huawei.com> - 1.0.8-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