Blame SPECS/nodejs-getpass.spec

6928b4
%{?scl:%scl_package nodejs-getpass}
6928b4
%{!?scl:%global pkg_name %{name}}
6928b4
%{?nodejs_find_provides_and_requires}
6928b4
6928b4
%global enable_tests 0
6928b4
%global npm_name getpass
6928b4
6928b4
Name:       %{?scl_prefix}nodejs-%{npm_name}
6928b4
Version:    0.1.6
6928b4
Release:    2%{?dist}
6928b4
Summary:    getpass for node
6928b4
License:    MIT
6928b4
URL:        https://github.com/arekinath/node-getpass.git
6928b4
Source0:    http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
6928b4
BuildRequires: %{?scl_prefix}nodejs-devel
6928b4
BuildArch:  noarch
6928b4
ExclusiveArch: %{nodejs_arches} noarch
6928b4
6928b4
%description
6928b4
getpass for node.js
6928b4
6928b4
%prep
6928b4
%setup -q -n package
6928b4
6928b4
rm -rf node_modules
6928b4
6928b4
%build
6928b4
6928b4
%install
6928b4
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
6928b4
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
6928b4
# If any binaries are included, symlink them to bindir here
6928b4
6928b4
6928b4
%nodejs_symlink_deps
6928b4
6928b4
%if 0%{?enable_tests}
6928b4
%check
6928b4
#not running tests in RHSCL
6928b4
%endif
6928b4
6928b4
%files
6928b4
%{nodejs_sitelib}/%{npm_name}
6928b4
6928b4
%doc LICENSE
6928b4
%doc README.md
6928b4
6928b4
%changelog
6928b4
* Fri Sep 23 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.6-2
6928b4
- Built with scl macros
6928b4
6928b4
* Thu Sep 22 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.6-1
6928b4
- Initial build
6928b4