Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > 15b28b78a2cdf907c675aedda2528281 > files > 1

nodejs-safe-regex-1.1.0-6.mga9.src.rpm

%global npm_name safe-regex
%global enable_tests 1

Name: nodejs-%{npm_name}
Version: 1.1.0
Release: %mkrel 6
Summary: Detect possibly catastrophic, exponential-time regular expressions
License: MIT
Group: Development/Other
URL: https://github.com/substack/safe-regex
Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
BuildRequires: nodejs-packaging
Requires: npm(ret)
BuildArch: noarch

%description
%{summary}

%prep
%setup -q -n package

%nodejs_fixdep ret ^0.2.

%build
# Nothing to do here

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr example %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr index.js %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr test %{buildroot}%{nodejs_sitelib}/%{npm_name}

%nodejs_symlink_deps

%if 0%{?enable_tests}
%check
%{nodejs_symlink_deps} --check
%endif

%files
%{nodejs_sitelib}/%{npm_name}
%license LICENSE
%doc readme.markdown



%changelog
* Tue Mar 22 2022 umeabot <umeabot> 1.1.0-6.mga9
+ Revision: 1820028
- Mageia 9 Mass Rebuild

* Fri May 15 2020 joequant <joequant> 1.1.0-5.mga8
+ Revision: 1584125
- recompute deps

* Wed Feb 12 2020 umeabot <umeabot> 1.1.0-4.mga8
+ Revision: 1503186
- Mageia 8 Mass Rebuild

* Thu Sep 20 2018 umeabot <umeabot> 1.1.0-3.mga7
+ Revision: 1280936
- Mageia 7 Mass Rebuild

* Thu May 03 2018 kekepower <kekepower> 1.1.0-2.mga7
+ Revision: 1225598
- Fix Requires

* Thu May 03 2018 kekepower <kekepower> 1.1.0-1.mga7
+ Revision: 1225435
- imported package nodejs-safe-regex