%global npm_name define-property %global enable_tests 1 Name: nodejs-%{npm_name} Version: 2.0.2 Release: %mkrel 7 Summary: Define a non-enumerable property on an object License: MIT Group: System/Libraries URL: https://github.com/jonschlinkert/define-property Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz BuildRequires: nodejs-packaging Requires: npm(is-descriptor) >= 1.0.2 Requires: npm(is-descriptor) < 2.0.0 Requires: npm(isobject) >= 3.0.1 Requires: npm(isobject) < 4.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 CHANGELOG.md %doc README.md %changelog * Tue Mar 22 2022 umeabot <umeabot> 2.0.2-7.mga9 + Revision: 1820025 - Mageia 9 Mass Rebuild * Fri May 15 2020 joequant <joequant> 2.0.2-6.mga8 + Revision: 1584122 - recompute deps * Fri May 15 2020 joequant <joequant> 2.0.2-5.mga8 + Revision: 1584089 - recompute deps * Fri May 15 2020 joequant <joequant> 2.0.2-4.mga8 + Revision: 1584087 - recompute deps * Wed Feb 12 2020 umeabot <umeabot> 2.0.2-3.mga8 + Revision: 1502571 - Mageia 8 Mass Rebuild * Thu Sep 20 2018 umeabot <umeabot> 2.0.2-2.mga7 + Revision: 1280309 - Mageia 7 Mass Rebuild * Sun Apr 29 2018 kekepower <kekepower> 2.0.2-1.mga7 + Revision: 1223295 - imported package nodejs-define-property