|
|
3a143a |
%{?scl:%scl_package nodejs-delegates}
|
|
|
3a143a |
%{!?scl:%global pkg_name %{name}}
|
|
|
3a143a |
|
|
|
3a143a |
# This macro is needed at the start for building on EL6
|
|
|
3a143a |
%{?nodejs_find_provides_and_requires}
|
|
|
3a143a |
|
|
|
3a143a |
%global barename core-util-is
|
|
|
3a143a |
|
|
|
3a143a |
Name: %{?scl_prefix}nodejs-core-util-is
|
|
|
3a143a |
Version: 1.0.2
|
|
|
3d218c |
Release: 5%{?dist}
|
|
|
3a143a |
Summary: The util.is functions introduced in Node v0.12
|
|
|
3a143a |
License: MIT
|
|
|
3a143a |
URL: https://www.npmjs.org/package/core-util-is
|
|
|
3a143a |
Source0: http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz
|
|
|
3a143a |
|
|
|
3a143a |
BuildArch: noarch
|
|
|
3a143a |
%if 0%{?fedora} >= 19
|
|
|
3a143a |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
3a143a |
%else
|
|
|
3d218c |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
3a143a |
%endif
|
|
|
3a143a |
|
|
|
3a143a |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
3a143a |
|
|
|
3a143a |
%description
|
|
|
3a143a |
The util.is functions introduced in Node v0.12.
|
|
|
3a143a |
|
|
|
3a143a |
%prep
|
|
|
3a143a |
%setup -q -n package
|
|
|
3a143a |
|
|
|
3a143a |
# Remove bundled node_modules if there are any..
|
|
|
3a143a |
rm -rf node_modules/
|
|
|
3a143a |
|
|
|
3a143a |
%nodejs_fixdep --caret
|
|
|
3a143a |
|
|
|
3a143a |
%build
|
|
|
3a143a |
%nodejs_symlink_deps --build
|
|
|
3a143a |
|
|
|
3a143a |
%install
|
|
|
3a143a |
mkdir -p %{buildroot}%{nodejs_sitelib}/core-util-is
|
|
|
3a143a |
cp -pr package.json lib \
|
|
|
3a143a |
%{buildroot}%{nodejs_sitelib}/core-util-is
|
|
|
3a143a |
|
|
|
3a143a |
%nodejs_symlink_deps
|
|
|
3a143a |
|
|
|
3a143a |
%files
|
|
|
3a143a |
%doc README.md LICENSE
|
|
|
3a143a |
%{nodejs_sitelib}/core-util-is/
|
|
|
3a143a |
|
|
|
3a143a |
%changelog
|
|
|
3d218c |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-5
|
|
|
3d218c |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
3d218c |
|
|
|
3a143a |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-4
|
|
|
3a143a |
- Rebuilt with updated metapackage
|
|
|
3a143a |
|
|
|
3a143a |
* Thu Feb 11 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-1
|
|
|
3a143a |
- Initial packaging for RHEL
|
|
|
3a143a |
- update to new upstream release
|
|
|
3a143a |
|
|
|
3a143a |
* Tue Jul 22 2014 Ralph Bean <rbean@redhat.com> - 1.0.1-1
|
|
|
3a143a |
- Initial packaging for Fedora.
|