Blame SPECS/nodejs-npm-install-checks.spec

f2d331
%{?scl:%scl_package nodejs-npm-install-checks}
f2d331
%{!?scl:%global pkg_name %{name}}
f2d331
f2d331
%nodejs_find_provides_and_requires
f2d331
f2d331
Name:           %{?scl_prefix}nodejs-npm-install-checks
d001fb
Version:        1.0.6
d001fb
Release:        1%{?dist}
f2d331
Summary:        Install checks for NPM
f2d331
License:        BSD-2-Clause
f2d331
Group:          Development/Languages/Other
f2d331
Url:            https://github.com/npm/npm-install-checks
f2d331
Source:         http://registry.npmjs.org/npm-install-checks/-/npm-install-checks-%{version}.tgz
f2d331
BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-build
f2d331
BuildArch:      noarch
f2d331
ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
f2d331
d001fb
BuildRequires:  nodejs010-runtime 
d001fb
f2d331
%description
f2d331
A package that contains checks that npm runs during the installation. 
f2d331
f2d331
%prep
f2d331
%setup -q -n package
f2d331
f2d331
%build
f2d331
f2d331
%install
f2d331
mkdir -p %{buildroot}%{nodejs_sitelib}/npm-install-checks
f2d331
cp -pr package.json index.js \
f2d331
        %{buildroot}%{nodejs_sitelib}/npm-install-checks/
f2d331
%nodejs_symlink_deps
f2d331
f2d331
%files
f2d331
%defattr(-,root,root,-)
f2d331
%doc README.md LICENSE
f2d331
%{nodejs_sitelib}/npm-install-checks
f2d331
f2d331
%changelog
d001fb
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.6-1
d001fb
- New upstream release
d001fb
f2d331
* Tue Jan 13 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.4-2
f2d331
- Remove undefined macro
f2d331
f2d331
* Mon Jan 12 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.4-1
f2d331
- Initial build
f2d331