Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > e7a664c744d2bee64028d6735e9ad5be > files > 2

nodejs-is-symbol-1.0.1-2.mga7.src.rpm

%{?nodejs_find_provides_and_requires}

%global enable_tests 0

Name:           nodejs-is-symbol
Version:        1.0.1
Release:        %mkrel 2
Summary:        Determine if a value is an ES6 Symbol or not
Group:          Development/Other

License:        MIT
URL:            https://github.com/ljharb/is-symbol
Source0:        https://registry.npmjs.org/is-symbol/-/is-symbol-%{version}.tgz
BuildArch:      noarch

BuildRequires:  nodejs-packaging

%if 0%{?enable_tests}
BuildRequires:  npm(tape)
%endif


%description
%{summary}.


%prep
%setup -q -n package
rm -rf node_modules


%build


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/is-symbol
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-symbol
%nodejs_symlink_deps


%if 0%{?enable_tests}
%check
%nodejs_symlink_deps --check
%{__nodejs} --es-staging --harmony test/index.js
%endif


%files
%{!?_licensedir:%global license %doc}
%doc README.md CHANGELOG.md
%license LICENSE
%{nodejs_sitelib}/is-symbol




%changelog
* Wed Sep 19 2018 umeabot <umeabot> 1.0.1-2.mga7
  (not released yet)
+ Revision: 1265004
- Mageia 7 Mass Rebuild

* Sun May 22 2016 tv <tv> 1.0.1-1.mga6
+ Revision: 1017731
- disable testuite for boostrapping
- imported package nodejs-is-symbol


* Sun May 22 2016 Thierry Vignaud <tv@mageia.org> 1.0.1-1.mga6
- import from FC

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Thu Oct 22 2015 Tom Hughes <tom@compton.nu> - 1.0.1-1
- Initial build of 1.0.1