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

504023
%{?scl:%scl_package nodejs-%{npm_name}}
504023
%{!?scl:%global pkg_name %{name}}
504023
%{?nodejs_find_provides_and_requires}
504023
504023
%global npm_name is-unc-path
504023
504023
Summary:       Returns true if a filepath is a windows UNC file paths
504023
Name:          %{?scl_prefix}nodejs-%{npm_name}
504023
Version:       0.1.1
504023
Release:       2%{?dist}
504023
License:       MIT
504023
URL:           https://github.com/jonschlinkert/is-unc-path
504023
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
504023
BuildRequires: nodejs010-runtime
504023
ExclusiveArch: %{nodejs_arches} noarch
504023
BuildArch:     noarch
504023
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
504023
504023
%description
504023
Returns true if a filepath is a windows UNC file path.
504023
504023
%prep
504023
%setup -q -n package
504023
504023
%build
504023
504023
%install
504023
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
504023
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
504023
504023
%files
504023
%doc README.md LICENSE
504023
%{nodejs_sitelib}/%{npm_name}
504023
504023
%changelog
504023
* Tue Dec 01 2015 Tomas Hrcka <thrcka@redhat.com> - 0.1.1-2
504023
- Enable scl macros
504023
504023
* Tue Nov 17 2015 Troy Dawson <tdawson@redhat.com> - 0.1.1-1
504023
- Initial package