Projects
Mega:24.09
nodejs-source-map-support
_service:tar_scm:nodejs-source-map-support.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-source-map-support.spec of Package nodejs-source-map-support
%{?nodejs_find_provides_and_requires} %global packagename source-map-support %global enable_tests 1 Name: nodejs-source-map-support Version: 0.4.18 Release: 3 Summary: Fixes stack traces for files with source maps License: MIT URL: https://github.com/evanw/node-source-map-support Source0: https://registry.npmjs.org/source-map-support/-/source-map-support-%{version}.tgz Source1: https://raw.githubusercontent.com/evanw/node-source-map-support/v%{version}/test.js BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging npm(source-map) %if 0%{?enable_tests} BuildRequires: mocha %endif %description Fixes stack traces for files with source maps %prep %autosetup -n package cp -p %{SOURCE1} . %nodejs_fixdep source-map sed -i "s/'SyntaxError: Unexpected token )'/\/SyntaxError: Unexpected token '?\\\)'?\//g" ./test.js %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr package.json *.js \ %{buildroot}%{nodejs_sitelib}/%{packagename} %nodejs_symlink_deps %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' %if 0%{?enable_tests} NODE_ENV=test %{_bindir}/mocha -R spec %else %{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" %endif %files %{!?_licensedir:%global license %doc} %doc *.md %license LICENSE.md %{nodejs_sitelib}/%{packagename} %changelog * Fri Feb 10 2023 wulei <wulei80@h-partners.com> - 0.4.18-3 - Fix error invalid data type * Tue Dec 29 2020 Ge Wang <wangge20@huawei.com> - 0.4.18-2 - Fix compile failure due to nodejs update to 10.21.0 * Wed Aug 12 2020 zhanghua <zhanghua40@huawei.com> - 0.4.18-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