Blame SPECS/nodejs-success-symbol.spec

dfe751
%{?scl:%scl_package nodejs-%{npm_name}}
dfe751
%{!?scl:%global pkg_name %{name}}
dfe751
dfe751
%{?nodejs_find_provides_and_requires}
dfe751
%global npm_name success-symbol
dfe751
dfe751
Summary:       Cross-platform success symbol
dfe751
Name:          %{?scl_prefix}nodejs-%{npm_name}
dfe751
Version:       0.1.0
dfe751
Release:       4%{?dist}
dfe751
License:       MIT
dfe751
URL:           https://github.com/jonschlinkert/success-symbol
dfe751
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
dfe751
BuildRequires: %{?scl_prefix}nodejs-devel
dfe751
ExclusiveArch: %{nodejs_arches} noarch
dfe751
BuildArch:     noarch
dfe751
dfe751
%description
dfe751
Cross-platform success symbol.
dfe751
dfe751
%prep
dfe751
%setup -q -n package
dfe751
dfe751
%build
dfe751
dfe751
%install
dfe751
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
dfe751
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
dfe751
dfe751
%nodejs_symlink_deps
dfe751
dfe751
%files
dfe751
%{!?_licensedir:%global license %doc}
dfe751
%doc README.md
dfe751
%license LICENSE
dfe751
%{nodejs_sitelib}/%{npm_name}
dfe751
dfe751
%changelog
dfe751
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.0-4
dfe751
- Use macro in -runtime dependency
dfe751
dfe751
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.0-3
dfe751
- Rebuilt with updated metapackage
dfe751
dfe751
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 0.1.0-2
dfe751
- Enable scl macros, fix license macro for el6
dfe751
dfe751
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.1.0-1
dfe751
- Initial package