Blame SPECS/nodejs-is-relative.spec

23361c
%{?scl:%scl_package nodejs-%{npm_name}}
23361c
%{!?scl:%global pkg_name %{name}}
23361c
%{?nodejs_find_provides_and_requires}
23361c
%global npm_name is-relative
23361c
23361c
Summary:       Returns true if the path appears to be relative.
23361c
Name:          %{?scl_prefix}nodejs-%{npm_name}
23361c
Version:       0.2.1
23361c
Release:       4%{?dist}
23361c
License:       MIT
23361c
URL:           https://github.com/jonschlinkert/is-relative
23361c
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
23361c
BuildRequires: %{?scl_prefix}runtime
23361c
ExclusiveArch: %{nodejs_arches} noarch
23361c
BuildArch:     noarch
23361c
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
23361c
23361c
%description
23361c
Returns true if the path appears to be relative.
23361c
23361c
%prep
23361c
%setup -q -n package
23361c
23361c
%build
23361c
23361c
%install
23361c
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
23361c
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
23361c
23361c
%files
23361c
%doc README.md LICENSE
23361c
%{nodejs_sitelib}/%{npm_name}
23361c
23361c
%changelog
23361c
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.1-4
23361c
- Use macro in -runtime dependency
23361c
23361c
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.1-3
23361c
- Rebuilt with updated metapackage
23361c
23361c
* Tue Dec 01 2015 Tomas Hrcka <thrcka@redhat.com> - 0.2.1-2
23361c
- Enable scl macros
23361c
23361c
* Tue Nov 24 2015 Troy Dawson <tdawson@redhat.com> - 0.2.1-1
23361c
- Initial package