Projects
Eulaceura:Factory
nodejs-difflib
_service:obs_scm:nodejs-difflib.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:nodejs-difflib.spec of Package nodejs-difflib
%{?nodejs_find_provides_and_requires} %global packagename difflib %global enable_tests 1 Name: nodejs-difflib Version: 0.2.4 Release: 2 Summary: Text diff library ported from Python's difflib module License: Python URL: https://github.com/qiao/difflib.js.git Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz Patch0: difflib-0.2.4-fix-test-keywords.patch BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: coffee-script mocha npm(heap) npm(should) %endif %description Text diff library ported from Python's difflib module %prep %setup -q -n package %patch0 -p1 rm lib/difflib.js %nodejs_fixdep heap '^0.2.0' %build %{_bindir}/coffee -c -b -o lib/ src/difflib.coffee %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr package.json *.js lib/ \ %{buildroot}%{nodejs_sitelib}/%{packagename} %nodejs_symlink_deps %if 0%{?enable_tests} %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' %{_bindir}/coffee -c -b test/*.coffee %{_bindir}/mocha --require should -R spec --ui qunit %endif %files %{!?_licensedir:%global license %doc} %doc *.md %license README.md %{nodejs_sitelib}/%{packagename} %changelog * Tue Nov 26 2020 leiju <leiju4@huawei.com> - 0.2.4-2 - delete ExclusiveArch:%{ix86} x86_64 %{arm} noarch * Tue Aug 18 2020 Anan Fu <fuanan3@huawei.com> - 0.2.4-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