Blame SPECS/nodejs-is-primitive.spec

5ef009
%{?scl:%scl_package nodejs-%{npm_name}}
5ef009
%{!?scl:%global pkg_name %{name}}
5ef009
5ef009
%{?nodejs_find_provides_and_requires}
5ef009
%global npm_name is-primitive
5ef009
5ef009
Summary:       Returns true if the value is a primitive
5ef009
Name:          %{?scl_prefix}nodejs-%{npm_name}
5ef009
Version:       2.0.0
5ef009
Release:       2%{?dist}
5ef009
License:       MIT
5ef009
URL:           https://github.com/jonschlinkert/is-primitive
5ef009
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
5ef009
BuildRequires: nodejs010-runtime
5ef009
ExclusiveArch: %{nodejs_arches} noarch
5ef009
BuildArch:     noarch
5ef009
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
5ef009
5ef009
%description
5ef009
Returns true if the value is a primitive. 
5ef009
5ef009
%prep
5ef009
%setup -q -n package
5ef009
5ef009
%build
5ef009
5ef009
%install
5ef009
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
5ef009
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
5ef009
5ef009
%nodejs_symlink_deps
5ef009
5ef009
%files
5ef009
%{!?_licensedir:%global license %doc}
5ef009
%doc README.md
5ef009
%license LICENSE
5ef009
%{nodejs_sitelib}/%{npm_name}
5ef009
5ef009
%changelog
5ef009
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 2.0.0-2
5ef009
- Enable scl macros, fix license macro for el6
5ef009
5ef009
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 2.0.0-1
5ef009
- Initial package