Blame SPECS/nodejs-jsprim.spec

0709c1
%{?scl:%scl_package nodejs-jsprim}
0709c1
%{!?scl:%global pkg_name %{name}}
0709c1
%{?nodejs_find_provides_and_requires}
0709c1
0709c1
%global enable_tests 0
0709c1
%global npm_name jsprim
0709c1
0709c1
Name:       %{?scl_prefix}nodejs-%{npm_name}
0709c1
Version:    1.2.2
1aa2db
Release:    3%{?dist}
0709c1
Summary:    utilities for primitive JavaScript types
0709c1
License:    MIT
0709c1
URL:        https://github.com/davepacheco/node-jsprim
0709c1
Source0:    http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
0709c1
BuildRequires: %{?scl_prefix}nodejs-devel
0709c1
BuildArch:  noarch
0709c1
ExclusiveArch: %{nodejs_arches} noarch
0709c1
0709c1
%description
0709c1
utilities for primitive JavaScript types
0709c1
0709c1
%prep
0709c1
%setup -q -n package
0709c1
0709c1
rm -rf node_modules
0709c1
0709c1
%nodejs_fixdep extsprintf
0709c1
%nodejs_fixdep json-schema
0709c1
%nodejs_fixdep verror
0709c1
0709c1
%build
0709c1
0709c1
%install
0709c1
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
0709c1
cp -pfr lib package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
0709c1
# If any binaries are included, symlink them to bindir here
0709c1
0709c1
0709c1
%nodejs_symlink_deps
0709c1
0709c1
%if 0%{?enable_tests}
0709c1
%check
0709c1
#not running tests in RHSCL
0709c1
%endif
0709c1
0709c1
%files
0709c1
%{nodejs_sitelib}/%{npm_name}
0709c1
0709c1
%doc LICENSE
0709c1
%doc README.md
0709c1
0709c1
%changelog
1aa2db
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.2.2-3
1aa2db
- Resolves: RHBZ#1543198, rebuild for multiarch
1aa2db
0709c1
* Tue Sep 20 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.2.2-2
0709c1
- Initial build
0709c1