Blame SPECS/nodejs-asap.spec

b65baf
%{?scl:%scl_package nodejs-asap}
b65baf
%{!?scl:%global pkg_name %{name}}
b65baf
b65baf
%{?nodejs_find_provides_and_requires}
b65baf
b65baf
Name:       %{?scl_prefix}nodejs-asap
b65baf
Version:    1.0.0
b65baf
Release:    4%{?dist}
b65baf
Summary:    High-priority task queue for Node.js and browser
b65baf
License:    MIT
b65baf
Group:      System Environment/Libraries
b65baf
URL:        https://github.com/kriskowal/asap
b65baf
Source0:    http://registry.npmjs.org/asap/-/asap-%{version}.tgz
b65baf
b65baf
BuildArch:  noarch
b65baf
%if 0%{?fedora} >= 19
b65baf
ExclusiveArch: %{nodejs_arches} noarch
b65baf
%else
b65baf
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
b65baf
%endif
b65baf
b65baf
BuildRequires: %{?scl_prefix}nodejs
b65baf
b65baf
%description
b65baf
%{summary}.
b65baf
b65baf
%prep
b65baf
%setup -q -n package
b65baf
b65baf
%build
b65baf
#nothing to do
b65baf
b65baf
%install
b65baf
mkdir -p %{buildroot}%{nodejs_sitelib}/asap
b65baf
cp -pr package.json asap.js \
b65baf
    %{buildroot}%{nodejs_sitelib}/asap
b65baf
b65baf
%nodejs_symlink_deps
b65baf
b65baf
%files
b65baf
%doc LICENSE.md README.md
b65baf
%{nodejs_sitelib}/asap
b65baf
b65baf
%changelog
b65baf
* Thu Nov 26 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-4
b65baf
- Enable scl macros
b65baf
b65baf
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
b65baf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b65baf
b65baf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
b65baf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b65baf
b65baf
* Sun Mar 02 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.0.0-1
b65baf
- initial package