Blame SPECS/nodejs-is-primitive.spec

02d692
%{?scl:%scl_package nodejs-%{npm_name}}
02d692
%{!?scl:%global pkg_name %{name}}
02d692
02d692
%{?nodejs_find_provides_and_requires}
02d692
%global npm_name is-primitive
02d692
02d692
Summary:       Returns true if the value is a primitive
02d692
Name:          %{?scl_prefix}nodejs-%{npm_name}
02d692
Version:       2.0.0
77583f
Release:       5%{?dist}
02d692
License:       MIT
02d692
URL:           https://github.com/jonschlinkert/is-primitive
02d692
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
02d692
BuildRequires: %{?scl_prefix}nodejs-devel
02d692
ExclusiveArch: %{nodejs_arches} noarch
02d692
BuildArch:     noarch
02d692
02d692
%description
02d692
Returns true if the value is a primitive. 
02d692
02d692
%prep
02d692
%setup -q -n package
02d692
02d692
%build
02d692
02d692
%install
02d692
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
02d692
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
02d692
02d692
%nodejs_symlink_deps
02d692
02d692
%files
02d692
%{!?_licensedir:%global license %doc}
02d692
%doc README.md
02d692
%license LICENSE
02d692
%{nodejs_sitelib}/%{npm_name}
02d692
02d692
%changelog
77583f
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-5
77583f
- Resolves: RHBZ#1543198, rebuild for multiarch
77583f
02d692
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-4
02d692
- Use macro in -runtime dependency
02d692
02d692
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-3
02d692
- Rebuilt with updated metapackage
02d692
02d692
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 2.0.0-2
02d692
- Enable scl macros, fix license macro for el6
02d692
02d692
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 2.0.0-1
02d692
- Initial package