Blame SPECS/nodejs-isobject.spec

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