Blame SPECS/nodejs-is-binary-path.spec

ebe661
%{?scl:%scl_package nodejs-%{npm_name}}
ebe661
%{!?scl:%global pkg_name %{name}}
ebe661
ebe661
%{?nodejs_find_provides_and_requires}
ebe661
%global npm_name is-binary-path
ebe661
ebe661
Summary:       Check if a filepath is a binary file.
ebe661
Name:          %{?scl_prefix}nodejs-%{npm_name}
ebe661
Version:       1.0.1
ebe661
Release:       5%{?dist}
ebe661
License:       MIT
ebe661
URL:           https://github.com/sindresorhus/is-binary-path
ebe661
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
ebe661
BuildRequires: %{?scl_prefix}nodejs-devel
ebe661
ExclusiveArch: %{nodejs_arches} noarch
ebe661
BuildArch:     noarch
ebe661
ebe661
%description
ebe661
Check if a filepath is a binary file.
ebe661
ebe661
%prep
ebe661
%setup -q -n package
ebe661
ebe661
%build
ebe661
ebe661
%install
ebe661
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
ebe661
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
ebe661
ebe661
%nodejs_symlink_deps
ebe661
ebe661
%files
ebe661
%doc readme.md
ebe661
%license license
ebe661
%{nodejs_sitelib}/%{npm_name}
ebe661
ebe661
%changelog
ebe661
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-5
ebe661
- rh-nodejs8 rebuild
ebe661
ebe661
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-4
ebe661
- Use macro in -runtime dependency
ebe661
ebe661
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-3
ebe661
- Rebuilt with updated metapackage
ebe661
ebe661
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.1-2
ebe661
- Enable scl macros
ebe661
ebe661
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.0.1-1
ebe661
- Initial package