Sophie

Sophie

distrib > Mageia > cauldron > i586 > media > core-release-src > by-pkgid > 27ac69b1df24acdb5c437366bf75ca63 > files > 2

nodejs-is-binary-path-2.0.0-7.mga9.src.rpm

%global npm_name is-binary-path
%global enable_tests 1

Name: nodejs-%{npm_name}
Version: 2.0.0
Release: %mkrel 7
Summary: Check if a filepath is a binary file
License: MIT
Group: Development/Other
URL: https://github.com/sindresorhus/is-binary-path#readme
Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
BuildRequires: nodejs-packaging
Requires: npm(binary-extensions) >= 1.0.0
Requires: npm(binary-extensions) < 2.0.0
BuildArch: noarch

%description
%{summary}

%prep
%setup -q -n package

%build
# Nothing to do here

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr index.js %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr package.json %{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.md



%changelog
* Wed Mar 23 2022 umeabot <umeabot> 2.0.0-7.mga9
+ Revision: 1820435
- Mageia 9 Mass Rebuild

* Thu Oct 22 2020 joequant <joequant> 2.0.0-6.mga8
+ Revision: 1638398
- fix deps

* Thu Oct 22 2020 joequant <joequant> 2.0.0-5.mga8
+ Revision: 1638374
- redo deps

* Fri Oct 02 2020 tv <tv> 2.0.0-4.mga8
+ Revision: 1631682
- rebuild in order to fix deps

* Wed Feb 12 2020 umeabot <umeabot> 2.0.0-3.mga8
+ Revision: 1502855
- Mageia 8 Mass Rebuild

* Thu Sep 20 2018 umeabot <umeabot> 2.0.0-2.mga7
+ Revision: 1280518
- Mageia 7 Mass Rebuild

* Thu May 03 2018 kekepower <kekepower> 2.0.0-1.mga7
+ Revision: 1225299
- imported package nodejs-is-binary-path