Blame SPECS/nodejs-set-blocking.spec

7f6840
%{?scl:%scl_package nodejs-set-blocking}
7f6840
%{!?scl:%global pkg_name %{name}}
7f6840
%{?nodejs_find_provides_and_requires}
7f6840
7f6840
%global enable_tests 0
7f6840
%global npm_name set-blocking
7f6840
7f6840
Name:       %{?scl_prefix}nodejs-%{npm_name}
7f6840
Version:    2.0.0
16386e
Release:    3%{?dist}
7f6840
Summary:    Set blocking stdio and stderr ensuring that terminal output does not truncate
7f6840
License:    ISC
7f6840
URL:        https://github.com/yargs/set-blocking#readme
7f6840
Source0:    http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
7f6840
BuildRequires: %{?scl_prefix}nodejs-devel
7f6840
BuildArch:  noarch
7f6840
ExclusiveArch: %{nodejs_arches} noarch
7f6840
7f6840
%description
7f6840
Set blocking stdio and stderr ensuring that terminal output does not truncate
7f6840
7f6840
%prep
7f6840
%setup -q -n package
7f6840
7f6840
rm -rf node_modules
7f6840
7f6840
%build
7f6840
7f6840
%install
7f6840
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
7f6840
cp -pfr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
7f6840
# If any binaries are included, symlink them to bindir here
7f6840
7f6840
7f6840
%nodejs_symlink_deps
7f6840
7f6840
%if 0%{?enable_tests}
7f6840
%check
7f6840
#not running tests in RHSCL
7f6840
%endif
7f6840
7f6840
%files
7f6840
%{nodejs_sitelib}/%{npm_name}
7f6840
7f6840
%doc LICENSE.txt
7f6840
%doc README.md
7f6840
7f6840
%changelog
16386e
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-3
16386e
- Resolves: RHBZ#1543198, rebuild for multiarch
16386e
7f6840
* Tue Sep 20 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-2
7f6840
- Initial build
7f6840