Blame SPECS/nodejs-core-util-is.spec

74feb0
# spec file for package nodejs-nodejs-core-util-is
74feb0
%{?scl:%scl_package nodejs-nodejs-core-util-is}
74feb0
%{!?scl:%global pkg_name %{name}}
74feb0
74feb0
%global npm_name core-util-is
74feb0
%{?nodejs_find_provides_and_requires}
74feb0
74feb0
%global enable_tests 0
74feb0
74feb0
Name:		%{?scl_prefix}nodejs-core-util-is
74feb0
Version:	1.0.1
74feb0
Release:	2%{?dist}
74feb0
Summary:	The `util.is*` functions introduced in Node v0.12.
74feb0
Url:		https://github.com/isaacs/core-util-is
74feb0
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
74feb0
Source1:	https://raw.githubusercontent.com/kasicka/core-util-is/1f0d425cbcc2941bb38f5c4a3e3026857db4c239/LICENSE
74feb0
License:	MIT
74feb0
#Licence text can be found in lib/util.js
74feb0
BuildArch:	noarch
74feb0
ExclusiveArch:	%{ix86} x86_64 %{arm}} noarch
74feb0
74feb0
BuildRequires:	%{?scl_prefix}nodejs-devel
74feb0
#BuildRequires:	nodejs-packaging
74feb0
74feb0
%description
74feb0
The `util.is*` functions introduced in Node v0.12.
74feb0
74feb0
%prep
74feb0
%setup -q -n package
74feb0
74feb0
cp -p %{SOURCE1} .
74feb0
74feb0
%build
74feb0
#nothing to do
74feb0
74feb0
%install
74feb0
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
74feb0
74feb0
cp -pr lib/ package.json *.js \
74feb0
	%{buildroot}%{nodejs_sitelib}/%{npm_name}
74feb0
74feb0
%{nodejs_symlink_deps}
74feb0
74feb0
%files
74feb0
%{nodejs_sitelib}/core-util-is
74feb0
74feb0
%doc README.md LICENSE
74feb0
74feb0
%changelog
74feb0
* Tue Sep 22 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-2
74feb0
- Add missing lib/ to %%install
74feb0
74feb0
* Thu Aug 13 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-1
74feb0
- Initial build